Salome HOME
Python container is obsolete
[modules/kernel.git] / bin / parseConfigFile.py
index 8dd21189f503699cf8dfeb19684368826df8c46d..41c294334191cce7b4f00df73c986e816a5e7e5c 100644 (file)
@@ -167,7 +167,8 @@ def __processConfigFile(config, reserved = [], filename="UNKNOWN FILENAME"):
         pattern = re.compile('\${ ( [^}]* ) }', re.VERBOSE) # string enclosed in ${ and }
         expandedVal = pattern.sub(r'', expandedVal) # remove matching patterns
         # Trim colons
-        expandedVal = _trimColons(expandedVal)
+        if not "DLIM8VAR" in key: # special case: DISTENE licence key can contain double clons (::)
+          expandedVal = _trimColons(expandedVal)
 
         if key in reservedKeys:
           shortKey = key[len(ADD_TO_PREFIX):]