pylint disable broad excepts when it make sense.

This commit is contained in:
Romain Dorgueil
2016-12-26 14:06:11 +01:00
parent 0dafd08a75
commit be9ef2cad8

View File

@ -74,8 +74,8 @@ class PluginExecutionContext:
try:
self.plugin.run(self)
except Exception as exc:
print('error', type(exc), exc)
except Exception as exc: # pylint: disable=broad-except
self.handle_error(exc, traceback.format_exc())
sleep(0.25)