summaryrefslogtreecommitdiff
path: root/python/vyos/configsession.py
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2019-06-12 10:43:08 +0200
committerDaniil Baturin <daniil@baturin.org>2019-06-12 10:43:08 +0200
commit6f42122bc4b8ae8a287f0350eba4d8cd2f5f9649 (patch)
tree124bb5eda3cd60db64c76f4719d2ae6d1dd88580 /python/vyos/configsession.py
parentd24f18c25ec159ace25107fc04e50ac67ffe26ca (diff)
downloadvyos-1x-6f42122bc4b8ae8a287f0350eba4d8cd2f5f9649.tar.gz
vyos-1x-6f42122bc4b8ae8a287f0350eba4d8cd2f5f9649.zip
T1432: correct the ConfigSessionError exception name.
Diffstat (limited to 'python/vyos/configsession.py')
-rw-r--r--python/vyos/configsession.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vyos/configsession.py b/python/vyos/configsession.py
index 4e9d30fa7..b989d3be5 100644
--- a/python/vyos/configsession.py
+++ b/python/vyos/configsession.py
@@ -67,7 +67,7 @@ class ConfigSession(object):
result = p.wait()
output = p.stdout.read().decode()
if result != 0:
- raise VyOSAPIError(output)
+ raise ConfigSessionError(output)
def set(self, path, value=None):
if not value: