Salome HOME
projects
/
modules
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9ba908
)
temprorary fix of shared modules
author
abd
<abd@opencascade.com>
Thu, 27 Apr 2006 12:19:27 +0000
(12:19 +0000)
committer
abd
<abd@opencascade.com>
Thu, 27 Apr 2006 12:19:27 +0000
(12:19 +0000)
src/KERNEL_PY/salome_shared_modules.py
patch
|
blob
|
history
diff --git
a/src/KERNEL_PY/salome_shared_modules.py
b/src/KERNEL_PY/salome_shared_modules.py
index 174abb19fd8dbc162d7d7aee89fa95173112b895..b9fe3a95bdef5027e2212db355683454595ce00e 100755
(executable)
--- a/
src/KERNEL_PY/salome_shared_modules.py
+++ b/
src/KERNEL_PY/salome_shared_modules.py
@@
-60,8
+60,10
@@
import import_hook
# On Win32, don't use omnipatch with omniOrb 4.0.7 so far
if not sys.platform == "win32":
from omnipatch import shared_imported
-
-import_hook.shared_imported=shared_imported
+ import_hook.shared_imported=shared_imported
+else:
+ shared_imported=import_hook.shared_imported
+
from import_hook import patterns
from import_hook import register_name
from import_hook import register_pattern