From 52584779a6484fcc85d9172c7fdabedb9f36a9d6 Mon Sep 17 00:00:00 2001 From: Florent Xicluna Date: Mon, 8 Mar 2010 07:21:16 +0000 Subject: [PATCH] Don't fail on a debug() statement, if the worker PID is (still) None. --- Lib/multiprocessing/pool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/multiprocessing/pool.py b/Lib/multiprocessing/pool.py index e2b670d9877..2a8fae1c6a6 100644 --- a/Lib/multiprocessing/pool.py +++ b/Lib/multiprocessing/pool.py @@ -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() #