commit | 52584779a6484fcc85d9172c7fdabedb9f36a9d6 | [log] [tgz] |
---|---|---|
author | Florent Xicluna <florent.xicluna@gmail.com> | Mon Mar 08 07:21:16 2010 +0000 |
committer | Florent Xicluna <florent.xicluna@gmail.com> | Mon Mar 08 07:21:16 2010 +0000 |
tree | 4e26d5ca5861ed1fcce27cd44d0b0b7b5b9e7985 | |
parent | 05b0d1d04856e159059589c06df43bc3939b7a09 [diff] |
Don't fail on a debug() statement, if the worker PID is (still) None.
diff --git a/Lib/multiprocessing/pool.py b/Lib/multiprocessing/pool.py index e2b670d..2a8fae1 100644 --- a/Lib/multiprocessing/pool.py +++ b/Lib/multiprocessing/pool.py
@@ -451,7 +451,7 @@ 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() #