]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
PR: Bug EDF 252, import problem from ASTER module
authorprascle <prascle>
Mon, 4 Sep 2006 05:29:45 +0000 (05:29 +0000)
committerprascle <prascle>
Mon, 4 Sep 2006 05:29:45 +0000 (05:29 +0000)
src/KERNEL_PY/omnipatch.py

index 2ebaf5429bccca9b70d175a319a15d1df84a93da..8de79dad5181d7306886007c7bbef4226c58c28f 100644 (file)
@@ -60,6 +60,11 @@ def openModule(mname, fname=None):
     elif _partialModules.has_key(mname):
         mod = _partialModules[mname]
 
+    # Salome modification start
+    elif shared_imported.get(mname) :
+        mod = shared_imported[mname]
+    # Salome modification end
+
     else:
         mod = newModule(mname)