mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
[fix] syntax error in python would avoid catching excepted exception
This commit is contained in:
parent
ce07ad994b
commit
f0541e570d
1 changed files with 1 additions and 1 deletions
|
@ -350,7 +350,7 @@ class Interface(BaseInterface):
|
||||||
|
|
||||||
try:
|
try:
|
||||||
ret = self.actionsmap.process(args, timeout=30)
|
ret = self.actionsmap.process(args, timeout=30)
|
||||||
except KeyboardInterrupt, EOFError:
|
except (KeyboardInterrupt, EOFError):
|
||||||
raise MoulinetteError(errno.EINTR, m18n.g('operation_interrupted'))
|
raise MoulinetteError(errno.EINTR, m18n.g('operation_interrupted'))
|
||||||
|
|
||||||
if ret is None or output_as == 'none':
|
if ret is None or output_as == 'none':
|
||||||
|
|
Loading…
Add table
Reference in a new issue