summaryrefslogtreecommitdiff
path: root/tools/patman/commit.py
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-04-04 10:45:33 -0400
committerTom Rini <trini@konsulko.com>2022-04-04 10:48:44 -0400
commit01f1ab67f38882dc7665a0a6eca4bbeba6d84f81 (patch)
tree31b1febefe82731d94571f7442877c039efb602c /tools/patman/commit.py
parente4b6ebd3de982ae7185dbf689a030e73fd06e0d2 (diff)
parent8221c52d88fbe84ca9692dc23827e21403c952e8 (diff)
Merge branch 'next'
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'tools/patman/commit.py')
-rw-r--r--tools/patman/commit.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/patman/commit.py b/tools/patman/commit.py
index c331a3b1221..9537de43d39 100644
--- a/tools/patman/commit.py
+++ b/tools/patman/commit.py
@@ -28,10 +28,11 @@ class Commit:
key: rtag type (e.g. 'Reviewed-by')
value: Set of people who gave that rtag, each a name/email string
warn: List of warnings for this commit, each a str
+ patch (str): Filename of the patch file for this commit
"""
def __init__(self, hash):
self.hash = hash
- self.subject = None
+ self.subject = ''
self.tags = []
self.changes = {}
self.cc_list = []
@@ -40,6 +41,7 @@ class Commit:
self.change_id = None
self.rtags = collections.defaultdict(set)
self.warn = []
+ self.patch = ''
def __str__(self):
return self.subject