diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2021-02-11 12:03:22 +0100 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2023-02-21 15:15:44 +0100 |
commit | 631898e14e2717afc69b40f71e6873c9e1dcd0db (patch) | |
tree | 5f3701d93f8d4e7232ae2d7e8819670e4b528a52 | |
parent | f6f7a2258a19fe91439c482220aa10fb0e95408f (diff) |
buildman: 'Thread' object has no attribute 'isAlive'
The isAlive() method was deprecated in Python 3.8 and has been removed in
Python 3.9. See https://bugs.python.org/issue37804. Use is_alive() instead.
Since Python 2.6 is_alive() has been a synonym for isAlive(). So there
should be no problems for users using elder Python 3 versions.
Upstream-Status: Backport [fd434f47d4d008d41f4ee2fe5cb94791f780395c]
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
-rw-r--r-- | tools/buildman/builder.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/buildman/builder.py b/tools/buildman/builder.py index c93946842a..6f6d759329 100644 --- a/tools/buildman/builder.py +++ b/tools/buildman/builder.py @@ -1691,7 +1691,7 @@ class Builder: term = threading.Thread(target=self.queue.join) term.setDaemon(True) term.start() - while term.isAlive(): + while term.is_alive(): term.join(100) # Wait until we have processed all output |