]> granicus.if.org Git - python/commitdiff
Fix call to os.waitpid, it does not take keyword args.
authorNeil Schemenauer <nascheme@enme.ucalgary.ca>
Tue, 24 Feb 2009 04:23:25 +0000 (04:23 +0000)
committerNeil Schemenauer <nascheme@enme.ucalgary.ca>
Tue, 24 Feb 2009 04:23:25 +0000 (04:23 +0000)
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