]> SALOME platform Git repositories - tools/SALOME.git/commitdiff
Salome HOME
other update with the warning 7.8.0
authorJeremy ROCHER <Jeremy.ROCHER@cea.fr>
Thu, 9 Jun 2016 14:13:51 +0000 (16:13 +0200)
committerJeremy ROCHER <Jeremy.ROCHER@cea.fr>
Thu, 9 Jun 2016 14:13:51 +0000 (16:13 +0200)
CMakeLists.txt
src/salomeContext.py

index d290cc1bc27d4cf9ef7926c875ab478113166ff7..376d538e49c5973510948370b874d799e9213b19 100644 (file)
@@ -109,8 +109,7 @@ ADD_SUBDIRECTORY( doc )
 # Additional files
 # ================
 SET(_salome_context_API_SCRIPTS
-   #${KERNEL_ROOT_DIR}/bin/salome/salomeContext.py  # No warning salomeContext
-    ./src/salomeContext.py
+   ${KERNEL_ROOT_DIR}/bin/salome/salomeContext.py
    ${KERNEL_ROOT_DIR}/bin/salome/salomeContextUtils.py
    ${KERNEL_ROOT_DIR}/bin/salome/parseConfigFile.py
 )
index 57773052a25ddb939740b3d0ee937d20ae0f4726..00fa1bca86df5c2eb559bc4e86afd00097557bf0 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)