From 6f42122bc4b8ae8a287f0350eba4d8cd2f5f9649 Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Wed, 12 Jun 2019 10:43:08 +0200 Subject: T1432: correct the ConfigSessionError exception name. --- python/vyos/configsession.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/vyos/configsession.py') 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: -- cgit v1.2.3