summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-10-06 16:56:14 +0200
committerGitHub <noreply@github.com>2024-10-06 16:56:14 +0200
commit6dad9e373706a542e32f107f7dcd91a3fac21967 (patch)
treeb3f1377463984ece2efad23e533335f608ce6c7e
parent17c9b444ecc7883f1d8af01fefc8d00f6f1ef49b (diff)
parent490ee3ec5ba7ea28002890841eab8e46f775a129 (diff)
downloadvyos-1x-6dad9e373706a542e32f107f7dcd91a3fac21967.tar.gz
vyos-1x-6dad9e373706a542e32f107f7dcd91a3fac21967.zip
Merge pull request #4131 from c-po/static-error-msg
static: T4283: fix missing f'ormat string
-rwxr-xr-xsrc/conf_mode/protocols_static.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/protocols_static.py b/src/conf_mode/protocols_static.py
index a2373218a..430cc69d4 100755
--- a/src/conf_mode/protocols_static.py
+++ b/src/conf_mode/protocols_static.py
@@ -88,7 +88,7 @@ def verify(static):
if {'blackhole', 'reject'} <= set(prefix_options):
raise ConfigError(f'Can not use both blackhole and reject for '\
- 'prefix "{prefix}"!')
+ f'prefix "{prefix}"!')
return None