summaryrefslogtreecommitdiff
path: root/src/conf_mode/interfaces-macsec.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-05-22 09:19:56 +0200
committerChristian Poessinger <christian@poessinger.com>2020-05-22 09:19:56 +0200
commitb1e4c766952592bffe87b9076d2c4a7ad3d2b60f (patch)
tree3c17d3ccaa0165dff70e831c2608da82462a3163 /src/conf_mode/interfaces-macsec.py
parent2130745c22b90c930ff1b5dffacfb0cd97c7adf6 (diff)
downloadvyos-1x-b1e4c766952592bffe87b9076d2c4a7ad3d2b60f.tar.gz
vyos-1x-b1e4c766952592bffe87b9076d2c4a7ad3d2b60f.zip
macsec: T2023: fix wrong use or f-format string
Diffstat (limited to 'src/conf_mode/interfaces-macsec.py')
-rwxr-xr-xsrc/conf_mode/interfaces-macsec.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conf_mode/interfaces-macsec.py b/src/conf_mode/interfaces-macsec.py
index a17f29e00..a1c6b029e 100755
--- a/src/conf_mode/interfaces-macsec.py
+++ b/src/conf_mode/interfaces-macsec.py
@@ -127,8 +127,8 @@ def verify(macsec):
if macsec['deleted']:
if macsec['is_bridge_member']:
raise ConfigError(
- f'Interface "{intf}" cannot be deleted as it is a '
- f'member of bridge "{is_bridge_member}"!'.format(**macsec))
+ 'Interface "{intf}" cannot be deleted as it is a '
+ 'member of bridge "{is_bridge_member}"!'.format(**macsec))
return None