projects
/
catalyst.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c8aac5
)
main.py: print the output of an ImportError to help in debugging.
author
Brian Dolbec
<dolsen@gentoo.org>
Fri, 3 Jan 2014 18:48:31 +0000
(10:48 -0800)
committer
Brian Dolbec
<dolsen@gentoo.org>
Wed, 2 Apr 2014 20:04:23 +0000
(13:04 -0700)
catalyst/main.py
patch
|
blob
|
history
diff --git
a/catalyst/main.py
b/catalyst/main.py
index 4146bcae205bd4253695d2df6e8a17353774b694..bba3cbab2dbbb12a444ffbec11fdc2d2ff71f9fc 100644
(file)
--- a/
catalyst/main.py
+++ b/
catalyst/main.py
@@
-227,9
+227,10
@@
def import_modules():
raise CatalystError,"Can't find " + x + ".py plugin in " + \
module_dir
- except ImportError:
+ except ImportError
as e
:
print "!!! catalyst: Python modules not found in "+\
module_dir + "; exiting."
+ print e
sys.exit(1)
return targetmap