summaryrefslogtreecommitdiffstats
path: root/Lib/SocketServer.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/SocketServer.py')
-rw-r--r--Lib/SocketServer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/SocketServer.py b/Lib/SocketServer.py
index 102d9b5..b615247 100644
--- a/Lib/SocketServer.py
+++ b/Lib/SocketServer.py
@@ -290,7 +290,7 @@ class ForkingMixIn:
def collect_children(self):
"""Internal routine to wait for died children."""
while self.active_children:
- pid = os.waitpid(0, os.WNOHANG)
+ pid, status = os.waitpid(0, os.WNOHANG)
if not pid: break
self.active_children.remove(pid)