test
This commit is contained in:
parent
f2b0737249
commit
7256d1c5e7
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ def replace_with_import(objList, items_func):
|
||||||
p = path.join("lib", clazz + ".py")
|
p = path.join("lib", clazz + ".py")
|
||||||
mod = imp.load_source(clazz, p)
|
mod = imp.load_source(clazz, p)
|
||||||
item = mod.create(clazzItem)
|
item = mod.create(clazzItem)
|
||||||
items.append(item)
|
repl.append(item)
|
||||||
except ImportError, err:
|
except ImportError, err:
|
||||||
print "could not import " + clazz + ": " + str(clazzItem) + "! reason"
|
print "could not import " + clazz + ": " + str(clazzItem) + "! reason"
|
||||||
print str(err)
|
print str(err)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue