summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-10-07 19:59:42 +0200
committerGitHub <noreply@github.com>2024-10-07 19:59:42 +0200
commitded9fa21622b12e762aba230b094608a8cbc54cc (patch)
treee15c86368ed96828dd4ae05cea4089cc9acec94b
parent8d69b135b73f18bd25c9b51a7c67a13647653b20 (diff)
parent740bff020e7d304339208be75513fd3188d4ca02 (diff)
downloadvyos-1x-ded9fa21622b12e762aba230b094608a8cbc54cc.tar.gz
vyos-1x-ded9fa21622b12e762aba230b094608a8cbc54cc.zip
Merge pull request #4135 from vyos/mergify/bp/sagitta/pr-4131
static: T4283: fix missing f'ormat string (backport #4131)
-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