Fix call to os.waitpid, it does not take keyword args.

This commit is contained in:
Neil Schemenauer 2009-02-24 04:23:25 +00:00
parent a18736b5d2
commit c9332fada6

View file

@ -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