patman: Declare the future Series memory
PATCH 1/1 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 <[email protected]>
tools/patman/commit.py | 3 +++ 1 file changed, 3 insertions(+)
tools/patman/commit.py +3 -0
@@ -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
Signature · 1 line
2.40.0.634.g4ca3ef3211-goog
Quoted 6 lines · Simon Glass
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]>
Applied to u-boot/master, thanks!
Signature · 1 line
Tom