buildman: 'Thread' object has no attribute 'isAlive'
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 11 Feb 2021 11:03:22 +0000 (12:03 +0100)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 14 Feb 2021 10:32:04 +0000 (11:32 +0100)
commitfd434f47d4d008d41f4ee2fe5cb94791f780395c
treeea047196d0b01763798a90b3d1fc8f2364f109ad
parent15bbcafab1cb35614cd8d6fa52f0e90a894c1af5
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>
tools/buildman/builder.py