From b1e4c766952592bffe87b9076d2c4a7ad3d2b60f Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Fri, 22 May 2020 09:19:56 +0200 Subject: macsec: T2023: fix wrong use or f-format string --- src/conf_mode/interfaces-macsec.py | 4 ++-- 1 file 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 -- cgit v1.2.3