summaryrefslogtreecommitdiff
path: root/python/vyos/xml/definition.py
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2020-11-22 10:22:41 -0600
committerJohn Estabrook <jestabro@vyos.io>2020-11-22 19:35:12 -0600
commit9311dcda624f871b063b8a52fa56d04e807b7890 (patch)
treef8b33630fc93bb3359d5f03a15e619a30a443bcd /python/vyos/xml/definition.py
parent7305a71722ae15ae2e356e52276a823a699bed7d (diff)
downloadvyos-1x-9311dcda624f871b063b8a52fa56d04e807b7890.tar.gz
vyos-1x-9311dcda624f871b063b8a52fa56d04e807b7890.zip
configdict: T3081: honor whitespace in multi node values
Diffstat (limited to 'python/vyos/xml/definition.py')
-rw-r--r--python/vyos/xml/definition.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vyos/xml/definition.py b/python/vyos/xml/definition.py
index 7831af4d2..a25fc50c5 100644
--- a/python/vyos/xml/definition.py
+++ b/python/vyos/xml/definition.py
@@ -297,7 +297,7 @@ class XML(dict):
continue
value = conf[k]
if self.is_multi(fpath) and not isinstance(value, list):
- value = value.split(' ')
+ value = [value]
r[under] = value
return r