mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 15:27:13 +03:00
run-tests: patch over py2.4 proc.wait() race
This commit is contained in:
parent
e4e0d4a087
commit
14f333f579
@ -838,7 +838,11 @@ def run(cmd, wd, options, replacements, env):
|
||||
cleanup()
|
||||
raise
|
||||
|
||||
ret = proc.wait()
|
||||
try:
|
||||
ret = proc.wait()
|
||||
except OSError:
|
||||
# Py2.4 seems to have a race here
|
||||
pass
|
||||
if wifexited(ret):
|
||||
ret = os.WEXITSTATUS(ret)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user