From: abd Date: Thu, 27 Apr 2006 12:19:27 +0000 (+0000) Subject: temprorary fix of shared modules X-Git-Tag: LAST_STABLE_VERSION_21_09_2006_ON_3_2_0~55 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=5eab8b5477a2e9839df36ac8c443e87256bd4554;p=modules%2Fkernel.git temprorary fix of shared modules --- diff --git a/src/KERNEL_PY/salome_shared_modules.py b/src/KERNEL_PY/salome_shared_modules.py index 174abb19f..b9fe3a95b 100755 --- 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