Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c20d70d

Browse files
committed
In utils/subproc.py: Change threading.Thread.isAlive to threading.Thread.is_alive, so pybombs add recipes <...> will work under python3 (and python2)
1 parent f6eb6de commit c20d70d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pybombs/utils/subproc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ def monitor_process(args, **kwargs):
240240
args=(quit_event, args, kwargs)
241241
)
242242
monitor_thread.start()
243-
while monitor_thread.isAlive:
243+
while monitor_thread.is_alive:
244244
# Try if it's finished:
245245
monitor_thread.join(1)
246246
if quit_event.is_set() or not monitor_thread.is_alive():

0 commit comments

Comments
 (0)