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.
........
This commit is contained in:
R. David Murray 2009-07-07 13:04:54 +00:00
parent 48c435cf2c
commit 92647d98db
1 changed files with 1 additions and 1 deletions

View 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