* [PATCH] patman: Declare the future Series memory
@ 2023-04-23 18:16 Simon Glass
2023-04-23 18:27 ` Tom Rini
0 siblings, 1 reply; 2+ messages in thread
From: Simon Glass @ 2023-04-23 18:16 UTC (permalink / raw)
To: U-Boot Mailing List; +Cc: Tom Rini, 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 <sjg@chromium.org>
---
https://dev.azure.com/u-boot/u-boot/_build/results?buildId=6168&view=logs&j=b31543ba-bf3a-552c-25a8-2f4df22f9328&t=093e08d5-0fd9-5b91-9d3b-fd9f41aee005
tools/patman/commit.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tools/patman/commit.py b/tools/patman/commit.py
index 9537de43d391..684225c0e60d 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
--
2.40.0.634.g4ca3ef3211-goog
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] patman: Declare the future Series memory
2023-04-23 18:16 [PATCH] patman: Declare the future Series memory Simon Glass
@ 2023-04-23 18:27 ` Tom Rini
0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2023-04-23 18:27 UTC (permalink / raw)
To: Simon Glass; +Cc: U-Boot Mailing List
[-- Attachment #1: Type: text/plain, Size: 307 bytes --]
On Mon, Apr 24, 2023 at 06:16:00AM +1200, Simon Glass wrote:
> 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>
Applied to u-boot/master, thanks!
--
Tom
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-04-23 18:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-23 18:16 [PATCH] patman: Declare the future Series memory Simon Glass
2023-04-23 18:27 ` Tom Rini
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.