From 67a27c273863ed56c3d02261222d271345720375 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Tue, 1 Oct 2019 20:38:58 +0200 Subject: [PATCH] segenxml.py: fix format usage in warning message --- support/segenxml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/support/segenxml.py b/support/segenxml.py index 115f28700..7a3231776 100644 --- a/support/segenxml.py +++ b/support/segenxml.py @@ -235,7 +235,7 @@ def getTunableXML(file_name, kind): template_code = template_file.readlines() template_file.close() except OSError: - warning("cannot open file %s for read, bailing out" % templatedir + "/" + template_call.group(1) + ".iftemplate") + warning("cannot open file %s for read, bailing out" % (templatedir + "/" + template_call.group(1) + ".iftemplate")) return [] # Substitute content (i.e. $1 for argument 1, $2 for argument 2, etc.) template_split = re.findall(r"[\w\" {}]+", line.strip())