diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-04-19 12:22:28 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-04-19 12:22:28 +0200 |
commit | 5cbba3a13868d95e2b14ccac2744de09aaeca805 (patch) | |
tree | 427695e82faef2c7ee550875efc440fcaef0ff8a | |
parent | 0e19d622a04100f7b6e53b3fe601873412609057 (diff) | |
download | vyos-1x-5cbba3a13868d95e2b14ccac2744de09aaeca805.tar.gz vyos-1x-5cbba3a13868d95e2b14ccac2744de09aaeca805.zip |
bridge: T2232: bugfix - remove double colon (:)
-rwxr-xr-x | src/conf_mode/interfaces-dummy.py | 2 | ||||
-rwxr-xr-x | src/conf_mode/interfaces-pseudo-ethernet.py | 2 | ||||
-rwxr-xr-x | src/conf_mode/interfaces-wirelessmodem.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/conf_mode/interfaces-dummy.py b/src/conf_mode/interfaces-dummy.py index 2cc60fb16..23eaa4ecb 100755 --- a/src/conf_mode/interfaces-dummy.py +++ b/src/conf_mode/interfaces-dummy.py @@ -83,7 +83,7 @@ def get_config(): def verify(dummy): if dummy['deleted']: - if dummy['is_bridge_member']:: + if dummy['is_bridge_member']: interface = dummy['intf'] bridge = dummy['is_bridge_member'] raise ConfigError(f'Interface "{interface}" can not be deleted as it belongs to bridge "{bridge}"!') diff --git a/src/conf_mode/interfaces-pseudo-ethernet.py b/src/conf_mode/interfaces-pseudo-ethernet.py index 3e5b7be5b..8eba6ea63 100755 --- a/src/conf_mode/interfaces-pseudo-ethernet.py +++ b/src/conf_mode/interfaces-pseudo-ethernet.py @@ -221,7 +221,7 @@ def get_config(): def verify(peth): if peth['deleted']: - if peth['is_bridge_member']:: + if peth['is_bridge_member']: interface = peth['intf'] bridge = peth['is_bridge_member'] raise ConfigError(f'Interface "{interface}" can not be deleted as it belongs to bridge "{bridge}"!') diff --git a/src/conf_mode/interfaces-wirelessmodem.py b/src/conf_mode/interfaces-wirelessmodem.py index 40bd1bbaf..163778e22 100755 --- a/src/conf_mode/interfaces-wirelessmodem.py +++ b/src/conf_mode/interfaces-wirelessmodem.py @@ -118,7 +118,7 @@ def get_config(): def verify(wwan): if wwan['deleted']: - if wwan['is_bridge_member']:: + if wwan['is_bridge_member']: interface = wwan['intf'] bridge = wwan['is_bridge_member'] raise ConfigError(f'Interface "{interface}" can not be deleted as it belongs to bridge "{bridge}"!') |