mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-09 03:21:51 +00:00
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. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
15bbcafab1
commit
fd434f47d4
1 changed files with 1 additions and 1 deletions
|
@ -1691,7 +1691,7 @@ class Builder:
|
||||||
term = threading.Thread(target=self.queue.join)
|
term = threading.Thread(target=self.queue.join)
|
||||||
term.setDaemon(True)
|
term.setDaemon(True)
|
||||||
term.start()
|
term.start()
|
||||||
while term.isAlive():
|
while term.is_alive():
|
||||||
term.join(100)
|
term.join(100)
|
||||||
|
|
||||||
# Wait until we have processed all output
|
# Wait until we have processed all output
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue