summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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}"!')