diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-03-04 22:13:08 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-03-04 22:13:08 +0100 |
commit | 359ac4cb1b1503d3889e0b84893abdd00db62197 (patch) | |
tree | 01534a480f9e8f05c34c2ae57cd14d2c8e6c16e7 | |
parent | 28ff7570f117f80bdd1f7c3a80eb8153fc368373 (diff) | |
download | vyos-1x-359ac4cb1b1503d3889e0b84893abdd00db62197.tar.gz vyos-1x-359ac4cb1b1503d3889e0b84893abdd00db62197.zip |
vrf: T31: remove pass in exception handler
-rwxr-xr-x | src/conf_mode/vrf.py | 3 |
1 files changed, 1 insertions, 2 deletions
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 = [] |