diff options
author | Simon Glass <sjg@chromium.org> | 2023-04-24 06:16:00 +1200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-04-23 14:24:41 -0400 |
commit | b646e1f69fca5d6a002be1f4e32fab00e140c091 (patch) | |
tree | 20f7fb387c6b1fd6e60c7d6c855060e2b80cb826 /tools/patman/commit.py | |
parent | 328fdeb9c9a8178a262dcebb9991a2ffff5788b1 (diff) | |
download | u-boot-b646e1f69fca5d6a002be1f4e32fab00e140c091.tar.gz u-boot-b646e1f69fca5d6a002be1f4e32fab00e140c091.tar.bz2 u-boot-b646e1f69fca5d6a002be1f4e32fab00e140c091.zip |
patman: Declare the future Series memory
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 <sjg@chromium.org>
Diffstat (limited to 'tools/patman/commit.py')
-rw-r--r-- | tools/patman/commit.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/patman/commit.py b/tools/patman/commit.py index 9537de43d3..684225c0e6 100644 --- a/tools/patman/commit.py +++ b/tools/patman/commit.py @@ -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 @@ -42,6 +44,7 @@ class Commit: self.rtags = collections.defaultdict(set) self.warn = [] self.patch = '' + self.future = None def __str__(self): return self.subject |