From 809439404feca0f554ebab4e9cb333d978fd811c Mon Sep 17 00:00:00 2001 From: nri Date: Thu, 22 May 2003 09:39:32 +0000 Subject: [PATCH] NRI : KERNEL is now defined in KERNELCatalog. --- src/SALOME_SWIG/salome_shared_modules.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/SALOME_SWIG/salome_shared_modules.py b/src/SALOME_SWIG/salome_shared_modules.py index e39cfb7e7..4f6d14c66 100644 --- a/src/SALOME_SWIG/salome_shared_modules.py +++ b/src/SALOME_SWIG/salome_shared_modules.py @@ -46,9 +46,10 @@ import glob,os,sys repertoire=os.path.dirname(__file__) path=[repertoire,] -KERNEL_ROOT_DIR = os.getenv("KERNEL_ROOT_DIR") -if KERNEL_ROOT_DIR != None: - path.append(os.path.join(KERNEL_ROOT_DIR,"lib","python"+sys.version[:3],"site-packages","salome")) +# KERNEL is defined in KERNELCatalog +#KERNEL_ROOT_DIR = os.getenv("KERNEL_ROOT_DIR") +#if KERNEL_ROOT_DIR != None: +# path.append(os.path.join(KERNEL_ROOT_DIR,"lib","python"+sys.version[:3],"site-packages","salome")) # -- 2.39.2