diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2019-10-01 20:38:58 +0200 |
---|---|---|
committer | Jason Zaman <perfinion@gentoo.org> | 2019-12-16 21:08:38 +0800 |
commit | 5a88e54aab7cb1c2494e7ef661a361ac4163d9d5 (patch) | |
tree | 76821070bceae7f47dee46e5b4cf22bf5938b4eb /support | |
parent | fix Makefile for policy-module directories with same ending (diff) | |
download | hardened-refpolicy-5a88e54aab7cb1c2494e7ef661a361ac4163d9d5.tar.gz hardened-refpolicy-5a88e54aab7cb1c2494e7ef661a361ac4163d9d5.tar.bz2 hardened-refpolicy-5a88e54aab7cb1c2494e7ef661a361ac4163d9d5.zip |
segenxml.py: fix format usage in warning message
Signed-off-by: Jason Zaman <perfinion@gentoo.org>
Diffstat (limited to 'support')
-rw-r--r-- | support/segenxml.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/support/segenxml.py b/support/segenxml.py index 115f2870..7a323177 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()) |