Don't fail on a debug() statement, if the worker PID is (still) None.

This commit is contained in:
Florent Xicluna 2010-03-08 07:21:16 +00:00
parent 05b0d1d048
commit 52584779a6
1 changed files with 1 additions and 1 deletions

View File

@ -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()
#