]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
patman: Correct Change-Ids error message args
authorSimon Glass <sjg@chromium.org>
Tue, 3 Nov 2020 20:54:11 +0000 (13:54 -0700)
committerSimon Glass <sjg@chromium.org>
Sat, 14 Nov 2020 22:23:41 +0000 (15:23 -0700)
The arguments of this error are incorrectly formatted. Fix it.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/patman/patchstream.py

index 772e4b56617e658c3e5ac0d916dc88ce266a9c20..cdcd50a8499eca031412abdf4a18ae668e04e75e 100644 (file)
@@ -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