Salome HOME
temprorary fix of shared modules
authorabd <abd@opencascade.com>
Thu, 27 Apr 2006 12:19:27 +0000 (12:19 +0000)
committerabd <abd@opencascade.com>
Thu, 27 Apr 2006 12:19:27 +0000 (12:19 +0000)
src/KERNEL_PY/salome_shared_modules.py

index 174abb19fd8dbc162d7d7aee89fa95173112b895..b9fe3a95bdef5027e2212db355683454595ce00e 100755 (executable)
@@ -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