Skip to content

Commit

Permalink
patman: Correct Change-Ids error message args
Browse files Browse the repository at this point in the history
The arguments of this error are incorrectly formatted. Fix it.

Signed-off-by: Simon Glass <[email protected]>
  • Loading branch information
sjg20 committed Nov 14, 2020
1 parent 4600767 commit 53336e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/patman/patchstream.py
Original file line number Diff line number Diff line change
Expand Up @@ -452,8 +452,8 @@ def process_line(self, line):
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

Expand Down

0 comments on commit 53336e6

Please sign in to comment.