summaryrefslogtreecommitdiff
path: root/python/vyos
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2022-01-05 15:10:50 -0600
committerJohn Estabrook <jestabro@vyos.io>2022-01-05 15:19:29 -0600
commit5b8550dc18378573f6b316d7ff4bd43a9061e668 (patch)
tree0b2aa9331b6fb6b5c5fca863d2a50e3c7f8bcec9 /python/vyos
parente4b368b10aeed363f9d2b0ba3bed26b2ea346842 (diff)
downloadvyos-1x-5b8550dc18378573f6b316d7ff4bd43a9061e668.tar.gz
vyos-1x-5b8550dc18378573f6b316d7ff4bd43a9061e668.zip
config: T3785: drop restriction to ascii in decode
Following the update to vyos1x-config, commit 64263617, UTF-8 characters are supported within the config file, hence in the output of showConfig.
Diffstat (limited to 'python/vyos')
-rw-r--r--python/vyos/configsource.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vyos/configsource.py b/python/vyos/configsource.py
index a0f6a46b5..510b5b65a 100644
--- a/python/vyos/configsource.py
+++ b/python/vyos/configsource.py
@@ -162,7 +162,7 @@ class ConfigSourceSession(ConfigSource):
if p.returncode != 0:
raise VyOSError()
else:
- return out.decode('ascii', 'ignore')
+ return out.decode()
def set_level(self, path):
"""