diff options
author | Robin Norwood <rnorwood@redhat.com> | 2007-09-24 12:59:26 -0400 |
---|---|---|
committer | Robin Norwood <rnorwood@redhat.com> | 2007-09-24 12:59:26 -0400 |
commit | bbf1cf314b20a15eff21a8129bb51415fdead41e (patch) | |
tree | 8b24d50f07f8d1cf9b86201cbd97fab2d40b3833 /server/module_loader.py | |
parent | 022666ac57634fb82c3839d4aacac4b44009aa40 (diff) | |
download | third_party-func-bbf1cf314b20a15eff21a8129bb51415fdead41e.tar.gz third_party-func-bbf1cf314b20a15eff21a8129bb51415fdead41e.tar.xz third_party-func-bbf1cf314b20a15eff21a8129bb51415fdead41e.zip |
Do not raise ImportError when loading a module.
An ImportError will now just print the error and continue with module loading.
Diffstat (limited to 'server/module_loader.py')
-rwxr-xr-x | server/module_loader.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/server/module_loader.py b/server/module_loader.py index 2b20429..a2a00c5 100755 --- a/server/module_loader.py +++ b/server/module_loader.py @@ -75,9 +75,8 @@ def load_modules(blacklist=None): continue mods[mod_imp_name] = blip except ImportError, e: - # shouldn't this be fatal? + # A module that raises an ImportError is (for now) simply not loaded. print e - raise return mods |