Commit ea9bedb9 authored by eric pellegrini's avatar eric pellegrini

small refactoring of ClassRegistry

parent f657f5e1
......@@ -106,10 +106,6 @@ class ClassRegistry(object):
moduleName, _ = os.path.splitext(moduleFile)
if moduleDir not in sys.path:
sys.path.insert(0,moduleDir)
# Any error that may occur here has to be caught. In such case the module is skipped.
try:
filehandler,path,description = imp.find_module(moduleName, [moduleDir])
......
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