summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-11-03 13:54:11 -0700
committerSimon Glass <sjg@chromium.org>2020-11-14 15:23:41 -0700
commit53336e6ca8ca82124857cb56b5e2c89c08774e51 (patch)
treec8773e3b1a68c6055582f99c86155cf4b3b58d38 /tools
parent4600767d294d892ce52cb0af3b24e324a3df4818 (diff)
patman: Correct Change-Ids error message args
The arguments of this error are incorrectly formatted. Fix it. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools')
-rw-r--r--tools/patman/patchstream.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/patman/patchstream.py b/tools/patman/patchstream.py
index 772e4b5661..cdcd50a849 100644
--- a/tools/patman/patchstream.py
+++ b/tools/patman/patchstream.py
@@ -452,8 +452,8 @@ class PatchStream:
if self.is_log:
if self.commit.change_id:
raise ValueError(
- "%s: Two Change-Ids: '%s' vs. '%s'" % self.commit.hash,
- self.commit.change_id, value)
+ "%s: Two Change-Ids: '%s' vs. '%s'" %
+ (self.commit.hash, self.commit.change_id, value))
self.commit.change_id = value
self.skip_blank = True