From: Holger Schurig Date: Wed, 23 Jun 2010 08:10:35 +0000 (+0200) Subject: webber: always return complete python trace-back if a module cannot be X-Git-Url: https://oss.titaniummirror.com/gitweb?p=webber.git;a=commitdiff_plain;h=2cfcf93e8c6ece8c2a231efc456a27a56024773d webber: always return complete python trace-back if a module cannot be loaded --- diff --git a/webber.py b/webber.py index 80a4d61..c90cdb9 100644 --- a/webber.py +++ b/webber.py @@ -341,12 +341,7 @@ def load_plugins(): for s in cfg.plugin_dirs: sys.path.append(s) for s in cfg.plugins: - #print "import:", s - try: - exec "import %s" % s - except: - print "Could not import plugin '%s'" % s - sys.exit(1) + exec "import %s" % s def set_hook(name, last=False):