From 62afba4808b8fc4ef20c0b6d5ed19723c5359732 Mon Sep 17 00:00:00 2001 From: prascle Date: Mon, 4 Sep 2006 05:29:45 +0000 Subject: [PATCH] PR: Bug EDF 252, import problem from ASTER module --- src/KERNEL_PY/omnipatch.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/KERNEL_PY/omnipatch.py b/src/KERNEL_PY/omnipatch.py index 2ebaf5429..8de79dad5 100644 --- a/src/KERNEL_PY/omnipatch.py +++ b/src/KERNEL_PY/omnipatch.py @@ -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) -- 2.39.2