Remove bare exception (linting fix).

pull/129/head
Chris McCormick 2019-11-26 12:39:01 +08:00
rodzic ede54d9563
commit 2dbc5d0233
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -1390,7 +1390,7 @@ def _get_plugin_commands(path):
if isdir(module_path):
try:
module = import_module(item)
except:
except Exception:
module = None
if hasattr(module, 'cli_commands'):
cli_commands.append(module.cli_commands())