From 307344f7a8958c60e44c66ed89a3eb5f31f870bb Mon Sep 17 00:00:00 2001 From: Matt Smith Date: Fri, 17 Jun 2016 09:52:08 -0700 Subject: [PATCH] Changing 'raise e' to 'raise' to prevent exception masking Change-Id: I5786ef33368f251815f6acbf97a15990562ffb85 --- autogenerate_config_docs/autohelp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autogenerate_config_docs/autohelp.py b/autogenerate_config_docs/autohelp.py index 2d640d6..504ab42 100755 --- a/autogenerate_config_docs/autohelp.py +++ b/autogenerate_config_docs/autohelp.py @@ -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)