fix quit action

the 'quit' action was not considered if the 'retry' one was set. This could lead to infinite loops if you define --max-retries=-1.
pull/44/head
Julien 8 years ago
parent 142d48c099
commit e1edfcbfe2

@ -1892,6 +1892,9 @@ Please read the README inside for more examples and usage information.
except Empty:
break
if 'quit' in actions:
self.ns.quit_now = True
if actions == 'skip':
p.skip_count += 1
continue
@ -1928,9 +1931,6 @@ Please read the README inside for more examples and usage information.
p.done_count += 1
if 'quit' in actions:
self.ns.quit_now = True
def monitor_interaction(self):

Loading…
Cancel
Save