[Python-checkins] r69927 - python/trunk/Lib/SocketServer.py

neil.schemenauer python-checkins at python.org
Tue Feb 24 05:23:25 CET 2009


Author: neil.schemenauer
Date: Tue Feb 24 05:23:25 2009
New Revision: 69927

Log:
Fix call to os.waitpid, it does not take keyword args.

Modified:
   python/trunk/Lib/SocketServer.py

Modified: python/trunk/Lib/SocketServer.py
==============================================================================
--- python/trunk/Lib/SocketServer.py	(original)
+++ python/trunk/Lib/SocketServer.py	Tue Feb 24 05:23:25 2009
@@ -487,7 +487,7 @@
             # libraries that expect to be able to wait for their own
             # children.
             try:
-                pid, status = os.waitpid(0, options=0)
+                pid, status = os.waitpid(0, 0)
             except os.error:
                 pid = None
             if pid not in self.active_children: continue


More information about the Python-checkins mailing list