Changing 'raise e' to 'raise' to prevent exception masking
Change-Id: I5786ef33368f251815f6acbf97a15990562ffb85
This commit is contained in:
parent
10c6b0236d
commit
307344f7a8
|
@ -131,7 +131,7 @@ def import_modules(repo_location, package_name, verbose=0):
|
|||
continue
|
||||
except Exception as e:
|
||||
print("Impossible to import module %s" % modname)
|
||||
raise e
|
||||
raise
|
||||
|
||||
_register_runtime_opts(module, abs_path, verbose)
|
||||
_run_hook(modname)
|
||||
|
|
Loading…
Reference in New Issue