Commit dfb24b9e authored by Janez K's avatar Janez K
Browse files

fixed #71

parent f25aa510
......@@ -33,8 +33,11 @@ def import_package_lib(packageName, libName, localSetAttrFunc):
dynamic_import_globals(appName+"."+packageName + "." + libName, packageName, localSetAttrFunc)
def dynamic_import_globals(name, package, localSetAttrFunc):
m = None
try:
m = __import__(name, globals(), locals(), ['*'])
except ImportError:
pass
except:
import sys, traceback
print "Exception in user code:"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment