# Import all *_shared_modules in the path and store them in list_modules
path=salome_path.split(":")
-print "...SALOME_PATH = "
-print salome_path
-print "...PATH = "path
-print path
+#print "...SALOME_PATH = "
+#print salome_path
+#print "...PATH = "
+#print path
for rep in path:
# Import all *_shared_modules in rep
try:
name=os.path.splitext(os.path.basename(f))[0]
register_name(name)
- print name + " REGISTERED"
+ #print name + " REGISTERED"
m=__import__(name)
- print name + " IMPORTED"
+ #print name + " IMPORTED"
list_modules.append(m)
except:
print "Exception during register and import shared module"
#
for name,module in sys.modules.items():
if import_hook.is_shared(name) and shared_imported.get(name) is None:
- #print "Module shared added to shared_imported: ",name
+ print "Module shared added to shared_imported: ",name
shared_imported[name]=module