Commit 92647d98 authored by R. David Murray's avatar R. David Murray

Merged revisions 69927 via svnmerge from

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.
........
parent 48c435cf
...@@ -487,7 +487,7 @@ class ForkingMixIn: ...@@ -487,7 +487,7 @@ class ForkingMixIn:
# libraries that expect to be able to wait for their own # libraries that expect to be able to wait for their own
# children. # children.
try: try:
pid, status = os.waitpid(0, options=0) pid, status = os.waitpid(0, 0)
except os.error: except os.error:
pid = None pid = None
if pid not in self.active_children: continue if pid not in self.active_children: continue
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment