mirror of
https://github.com/python/cpython.git
synced 2025-09-20 15:40:32 +00:00
Don't fail on a debug() statement, if the worker PID is (still) None.
This commit is contained in:
parent
05b0d1d048
commit
52584779a6
1 changed files with 1 additions and 1 deletions
|
@ -451,7 +451,7 @@ class Pool(object):
|
|||
for w in pool:
|
||||
if w.exitcode is None:
|
||||
# worker has not yet exited
|
||||
debug('cleaning up worker %d' % w.pid)
|
||||
debug('cleaning up worker %s' % w.pid)
|
||||
w.join()
|
||||
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue