diff options
Diffstat (limited to 'python/vyos')
-rw-r--r-- | python/vyos/config.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vyos/config.py b/python/vyos/config.py index 1a0da3e54..8bf5a1727 100644 --- a/python/vyos/config.py +++ b/python/vyos/config.py @@ -195,7 +195,7 @@ class Config(object): # libvyosconfig exists() works only for _nodes_, not _values_ # libvyattacfg one also worked for values, so we emulate that case here if isinstance(path, str): - path = re.split(r'\s*', path) + path = re.split(r'\s+', path) path_without_value = path[:-1] path_str = " ".join(path_without_value) try: |