[Python-checkins] r78787 - python/trunk/Lib/multiprocessing/pool.py

florent.xicluna python-checkins at python.org
Mon Mar 8 08:21:17 CET 2010


Author: florent.xicluna
Date: Mon Mar  8 08:21:16 2010
New Revision: 78787

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


Modified:
   python/trunk/Lib/multiprocessing/pool.py

Modified: python/trunk/Lib/multiprocessing/pool.py
==============================================================================
--- python/trunk/Lib/multiprocessing/pool.py	(original)
+++ python/trunk/Lib/multiprocessing/pool.py	Mon Mar  8 08:21:16 2010
@@ -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()
 
 #


More information about the Python-checkins mailing list