[fix] syntax error in python would avoid catching excepted exception

This commit is contained in:
Laurent Peuch 2016-12-03 00:00:25 +01:00
parent ce07ad994b
commit f0541e570d

View file

@ -350,7 +350,7 @@ class Interface(BaseInterface):
try:
ret = self.actionsmap.process(args, timeout=30)
except KeyboardInterrupt, EOFError:
except (KeyboardInterrupt, EOFError):
raise MoulinetteError(errno.EINTR, m18n.g('operation_interrupted'))
if ret is None or output_as == 'none':