From 5eab8b5477a2e9839df36ac8c443e87256bd4554 Mon Sep 17 00:00:00 2001 From: abd Date: Thu, 27 Apr 2006 12:19:27 +0000 Subject: [PATCH] temprorary fix of shared modules --- src/KERNEL_PY/salome_shared_modules.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 -- 2.39.2