From 359ac4cb1b1503d3889e0b84893abdd00db62197 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Wed, 4 Mar 2020 22:13:08 +0100 Subject: vrf: T31: remove pass in exception handler --- src/conf_mode/vrf.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/conf_mode/vrf.py') diff --git a/src/conf_mode/vrf.py b/src/conf_mode/vrf.py index a39366126..dd4b337e6 100755 --- a/src/conf_mode/vrf.py +++ b/src/conf_mode/vrf.py @@ -54,8 +54,7 @@ def _cmd(command): try: check_call(command.split()) except CalledProcessError as e: - pass - raise ConfigError(f'Error operationg on VRF: {e}') + raise ConfigError(f'Error changing VRF: {e}') def interfaces_with_vrf(match): matched = [] -- cgit v1.2.3