Kaydet (Commit) c9332fad authored tarafından Neil Schemenauer's avatar Neil Schemenauer

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

üst a18736b5
...@@ -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