summaryrefslogtreecommitdiffstats
path: root/server/module_loader.py
diff options
context:
space:
mode:
authorRobin Norwood <rnorwood@redhat.com>2007-09-24 12:59:26 -0400
committerRobin Norwood <rnorwood@redhat.com>2007-09-24 12:59:26 -0400
commitbbf1cf314b20a15eff21a8129bb51415fdead41e (patch)
tree8b24d50f07f8d1cf9b86201cbd97fab2d40b3833 /server/module_loader.py
parent022666ac57634fb82c3839d4aacac4b44009aa40 (diff)
downloadthird_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-xserver/module_loader.py3
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