Backport r85525 from #10098.

This commit is contained in:
Brian Curtin 2010-11-05 15:28:19 +00:00
parent 3606f9570e
commit dbf8e839cf
1 changed files with 1 additions and 1 deletions

View File

@ -750,7 +750,7 @@ def _kill_with_event(self, event, name):
# Let the interpreter startup before we send signals. See #3137.
count, max = 0, 20
while count < max and proc.poll() is None:
if m[0] == '0':
if m[0] == '1':
break
time.sleep(0.5)
count += 1