]> granicus.if.org Git - python/commitdiff
Merged revisions 69927 via svnmerge from
authorR. David Murray <rdmurray@bitdance.com>
Tue, 7 Jul 2009 13:04:54 +0000 (13:04 +0000)
committerR. David Murray <rdmurray@bitdance.com>
Tue, 7 Jul 2009 13:04:54 +0000 (13:04 +0000)
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69927 | neil.schemenauer | 2009-02-23 23:23:25 -0500 (Mon, 23 Feb 2009) | 1 line

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

Lib/SocketServer.py

index 2c41fbb6dc09b19792126afb8ce289b80990e456..f01cb5f2ccbf58c51357b6da846a4be68c6a6bb1 100644 (file)
@@ -487,7 +487,7 @@ class ForkingMixIn:
             # 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