summaryrefslogtreecommitdiff
path: root/python/vyos
diff options
context:
space:
mode:
Diffstat (limited to 'python/vyos')
-rw-r--r--python/vyos/config.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/vyos/config.py b/python/vyos/config.py
index 96e9631e0..c9c73b971 100644
--- a/python/vyos/config.py
+++ b/python/vyos/config.py
@@ -405,7 +405,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)