Merge pull request #13565 from cachedout/13533

Fix reversed params.
This commit is contained in:
Colton Myers 2014-06-19 09:58:40 -06:00
commit 11224456eb

View File

@ -89,7 +89,7 @@ def clean_proc(proc, wait_for_kill=10):
proc.pid
)
)
os.kill(signal.SIGKILL, proc.pid)
os.kill(proc.pid, signal.SIGKILL)
except (AssertionError, AttributeError):
# Catch AssertionError when the proc is evaluated inside the child
# Catch AttributeError when the process dies between proc.is_alive()