domain: Switch to non-deprecated thread.is_alive

Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
Cole Robinson 2020-09-15 16:27:00 -04:00
parent 83fcab0177
commit 282f9cf91c

View File

@ -34,7 +34,7 @@ def start_job_progress_thread(vm, meter, progtext):
while True:
time.sleep(.5)
if not current_thread.isAlive():
if not current_thread.is_alive():
return
try: