diff options
author | Josh Blum | 2013-07-29 22:14:19 -0700 |
---|---|---|
committer | Josh Blum | 2013-07-29 22:14:19 -0700 |
commit | cf8ca0ba62e78e70b7621b0c81bf7c031eabe3ac (patch) | |
tree | 38013fffdde0f9620bbb6f9dc7a47ba770672e70 /python/gras/GRAS_Loader.py | |
parent | 311d63e3f0432c0dda45d622b618b303c41ec541 (diff) | |
download | sandhi-cf8ca0ba62e78e70b7621b0c81bf7c031eabe3ac.tar.gz sandhi-cf8ca0ba62e78e70b7621b0c81bf7c031eabe3ac.tar.bz2 sandhi-cf8ca0ba62e78e70b7621b0c81bf7c031eabe3ac.zip |
gras: simplfy factory w/ macros and namespace
Diffstat (limited to 'python/gras/GRAS_Loader.py')
-rw-r--r-- | python/gras/GRAS_Loader.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/python/gras/GRAS_Loader.py b/python/gras/GRAS_Loader.py index b70bc60..cc73d9b 100644 --- a/python/gras/GRAS_Loader.py +++ b/python/gras/GRAS_Loader.py @@ -2,6 +2,7 @@ import os import sys +import traceback #try to import module #http://effbot.org/zone/import-string.htm @@ -15,6 +16,7 @@ def __try_module_import(filename): module = __import__(module_name) except Exception as ex: print 'Could not import', filename, ex + print traceback.format_exc() finally: sys.path[:] = path # restore |