summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-19 12:22:28 +0200
committerChristian Poessinger <christian@poessinger.com>2020-04-19 12:22:28 +0200
commit5cbba3a13868d95e2b14ccac2744de09aaeca805 (patch)
tree427695e82faef2c7ee550875efc440fcaef0ff8a /src
parent0e19d622a04100f7b6e53b3fe601873412609057 (diff)
downloadvyos-1x-5cbba3a13868d95e2b14ccac2744de09aaeca805.tar.gz
vyos-1x-5cbba3a13868d95e2b14ccac2744de09aaeca805.zip
bridge: T2232: bugfix - remove double colon (:)
Diffstat (limited to 'src')
-rwxr-xr-xsrc/conf_mode/interfaces-dummy.py2
-rwxr-xr-xsrc/conf_mode/interfaces-pseudo-ethernet.py2
-rwxr-xr-xsrc/conf_mode/interfaces-wirelessmodem.py2
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}"!')