diff options
Diffstat (limited to 'tools/patman/commit.py')
-rw-r--r-- | tools/patman/commit.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/patman/commit.py b/tools/patman/commit.py index 8d583c4ed3..5bf2b94029 100644 --- a/tools/patman/commit.py +++ b/tools/patman/commit.py @@ -27,6 +27,7 @@ class Commit: rtags: Response tags (e.g. Reviewed-by) collected by the commit, dict: 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 """ def __init__(self, hash): self.hash = hash @@ -38,6 +39,10 @@ class Commit: self.notes = [] self.change_id = None self.rtags = collections.defaultdict(set) + self.warn = [] + + def __str__(self): + return self.subject def AddChange(self, version, info): """Add a new change line to the change list for a version. |