]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
correct after SWP12334
authorptv <ptv@opencascade.com>
Fri, 12 May 2006 06:50:33 +0000 (06:50 +0000)
committerptv <ptv@opencascade.com>
Fri, 12 May 2006 06:50:33 +0000 (06:50 +0000)
src/KERNEL_PY/salome_shared_modules.py

index 92bcbc60340b2925431df67e1e0a36b07fa71d21..3e492613fb9f9746ddb0a1322c90ebf77110a299 100755 (executable)
@@ -72,10 +72,10 @@ list_modules=[]
 
 # 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
@@ -84,9 +84,9 @@ for rep in path:
         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"
@@ -98,6 +98,6 @@ for rep in path:
 #
 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