From b41af670cdef7d4bad9d545e66ab9ecd9a949322 Mon Sep 17 00:00:00 2001 From: aguerre Date: Fri, 8 Nov 2013 17:09:15 +0000 Subject: [PATCH] Fix bug in DISTENE licence key (do not trim double colons ::) --- bin/parseConfigFile.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/parseConfigFile.py b/bin/parseConfigFile.py index 8dd21189f..41c294334 100644 --- a/bin/parseConfigFile.py +++ b/bin/parseConfigFile.py @@ -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):] -- 2.30.2