Don't fail on a debug() statement, if the worker PID is (still) None.
This commit is contained in:
parent
05b0d1d048
commit
52584779a6
|
@ -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…
Reference in New Issue