Martin Blanchard pushed to branch mablanch/36-fix-linting at BuildGrid / buildgrid
Commits:
-
b629e593
by Martin Blanchard at 2018-08-16T14:31:48Z
1 changed file:
Changes:
... | ... | @@ -60,9 +60,7 @@ class BuildGridCLI(click.MultiCommand): |
60 | 60 |
try:
|
61 | 61 |
mod = __import__(name='app.commands.cmd_{}'.format(name),
|
62 | 62 |
fromlist=['cli'])
|
63 |
- except ModuleNotFoundError as e:
|
|
64 |
- raise Exception(e)
|
|
65 |
- except ImportError as e:
|
|
63 |
+ except ImportError:
|
|
66 | 64 |
return None
|
67 | 65 |
return mod.cli
|
68 | 66 |
|