Corrected error in parse_key_value in var_funcs.py.
Need to use caller's delim when re-joining fields 1 to n.
Change-Id: I248e52efd393088101875ce41b1496c07504afb1
Signed-off-by: MICHAEL J. WALSH <micwalsh@us.ibm.com>
diff --git a/lib/var_funcs.py b/lib/var_funcs.py
index 1bfd974..6de93f3 100644
--- a/lib/var_funcs.py
+++ b/lib/var_funcs.py
@@ -264,7 +264,7 @@
if len(pair) == 0:
value = ""
else:
- value = "".join(pair[1:]).strip(strip)
+ value = delim.join(pair[1:]).strip(strip)
if to_lower:
key = key.lower()