summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorNeil Schemenauer <nascheme@enme.ucalgary.ca>2009-02-24 04:23:25 (GMT)
committerNeil Schemenauer <nascheme@enme.ucalgary.ca>2009-02-24 04:23:25 (GMT)
commitc9332fada6dbb8e811762d480bb54c38ed52bc3d (patch)
tree3e2a1b0928c2899b58c49c41930c7e928b14653a /Lib
parenta18736b5d2cb8d6141456c40d7d2e762b04a31b8 (diff)
downloadcpython-c9332fada6dbb8e811762d480bb54c38ed52bc3d.zip
cpython-c9332fada6dbb8e811762d480bb54c38ed52bc3d.tar.gz
cpython-c9332fada6dbb8e811762d480bb54c38ed52bc3d.tar.bz2
Fix call to os.waitpid, it does not take keyword args.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/SocketServer.py2
1 files changed, 1 insertions, 1 deletions
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