diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-05-22 09:19:56 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-05-22 09:19:56 +0200 |
commit | b1e4c766952592bffe87b9076d2c4a7ad3d2b60f (patch) | |
tree | 3c17d3ccaa0165dff70e831c2608da82462a3163 | |
parent | 2130745c22b90c930ff1b5dffacfb0cd97c7adf6 (diff) | |
download | vyos-1x-b1e4c766952592bffe87b9076d2c4a7ad3d2b60f.tar.gz vyos-1x-b1e4c766952592bffe87b9076d2c4a7ad3d2b60f.zip |
macsec: T2023: fix wrong use or f-format string
-rwxr-xr-x | src/conf_mode/interfaces-macsec.py | 4 |
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 |