From c9332fada6dbb8e811762d480bb54c38ed52bc3d Mon Sep 17 00:00:00 2001 From: Neil Schemenauer Date: Tue, 24 Feb 2009 04:23:25 +0000 Subject: Fix call to os.waitpid, it does not take keyword args. --- Lib/SocketServer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/SocketServer.py b/Lib/SocketServer.py index 2c41fbb..f01cb5f 100644 --- a/Lib/SocketServer.py +++ b/Lib/SocketServer.py @@ -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 -- cgit v0.12