]> SALOME platform Git repositories - tools/SALOME.git/commitdiff
Salome HOME
No warning with salomeContext
authorS. Pomarede <support-salome@cea.fr>
Fri, 27 May 2016 14:37:33 +0000 (16:37 +0200)
committerS. Pomarede <support-salome@cea.fr>
Fri, 27 May 2016 14:37:33 +0000 (16:37 +0200)
CMakeLists.txt
src/salomeContext.py

index 376d538e49c5973510948370b874d799e9213b19..d290cc1bc27d4cf9ef7926c875ab478113166ff7 100644 (file)
@@ -109,7 +109,8 @@ ADD_SUBDIRECTORY( doc )
 # Additional files
 # ================
 SET(_salome_context_API_SCRIPTS
-   ${KERNEL_ROOT_DIR}/bin/salome/salomeContext.py
+   #${KERNEL_ROOT_DIR}/bin/salome/salomeContext.py  # No warning salomeContext
+    ./src/salomeContext.py
    ${KERNEL_ROOT_DIR}/bin/salome/salomeContextUtils.py
    ${KERNEL_ROOT_DIR}/bin/salome/parseConfigFile.py
 )
index 00fa1bca86df5c2eb559bc4e86afd00097557bf0..57773052a25ddb939740b3d0ee937d20ae0f4726 100755 (executable)
@@ -177,8 +177,8 @@ class SalomeContext:
       self.getLogger().warning("Environment variable already existing (and not overwritten): %s=%s", name, value)
       return
 
-    if env:
-      self.getLogger().warning("Overwriting environment variable: %s=%s", name, value)
+    #if env:
+    #  self.getLogger().warning("Overwriting environment variable: %s=%s", name, value)
 
     value = os.path.expandvars(value) # expand environment variables
     self.getLogger().debug("Set environment variable: %s=%s", name, value)