mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-11-29 14:41:26 +01:00
patman: Allow showing a Commit as a string
Use the subject of the Commit object when printing it out. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
b5e188131f
commit
a12ad7c940
@ -41,6 +41,9 @@ class Commit:
|
|||||||
self.rtags = collections.defaultdict(set)
|
self.rtags = collections.defaultdict(set)
|
||||||
self.warn = []
|
self.warn = []
|
||||||
|
|
||||||
|
def __str__(self):
|
||||||
|
return self.subject
|
||||||
|
|
||||||
def AddChange(self, version, info):
|
def AddChange(self, version, info):
|
||||||
"""Add a new change line to the change list for a version.
|
"""Add a new change line to the change list for a version.
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user