mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-01-22 22:03:58 +03:00
domain: Switch to non-deprecated thread.is_alive
Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
parent
83fcab0177
commit
282f9cf91c
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user