summaryrefslogtreecommitdiff
path: root/src/conf_mode
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-03-04 22:13:08 +0100
committerChristian Poessinger <christian@poessinger.com>2020-03-04 22:13:08 +0100
commit359ac4cb1b1503d3889e0b84893abdd00db62197 (patch)
tree01534a480f9e8f05c34c2ae57cd14d2c8e6c16e7 /src/conf_mode
parent28ff7570f117f80bdd1f7c3a80eb8153fc368373 (diff)
downloadvyos-1x-359ac4cb1b1503d3889e0b84893abdd00db62197.tar.gz
vyos-1x-359ac4cb1b1503d3889e0b84893abdd00db62197.zip
vrf: T31: remove pass in exception handler
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-xsrc/conf_mode/vrf.py3
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 = []