Skip to content

Commit

Permalink
patman: Declare the future Series memory
Browse files Browse the repository at this point in the history
This member is used in series.MakeCcFile() so should be declared in the
Series class.

Add a declaration to silence the warning.

Signed-off-by: Simon Glass <[email protected]>
  • Loading branch information
sjg20 authored and trini committed Apr 23, 2023
1 parent 328fdeb commit b646e1f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/patman/commit.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ class Commit:
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
future (concurrent.futures.Future): Future object for processing this
commit, or None
"""
def __init__(self, hash):
self.hash = hash
Expand All @@ -42,6 +44,7 @@ def __init__(self, hash):
self.rtags = collections.defaultdict(set)
self.warn = []
self.patch = ''
self.future = None

def __str__(self):
return self.subject
Expand Down

0 comments on commit b646e1f

Please sign in to comment.