From d76798085ea8a77ffca3c6fbb6df74fc3121c333 Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Wed, 3 Jul 2019 12:40:27 +0200 Subject: [vyos.config] T1505: correct return_effective_values output splitting. --- python/vyos/config.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'python') diff --git a/python/vyos/config.py b/python/vyos/config.py index bcf04225b..7483e3552 100644 --- a/python/vyos/config.py +++ b/python/vyos/config.py @@ -383,7 +383,8 @@ class Config(object): else: try: out = self._run(self._make_command('returnEffectiveValues', full_path)) - return out + values = re.findall(r"\'(.*?)\'", out) + return values except VyOSError: return(default) -- cgit v1.2.3