Fix internal error when using --maxfail option

Fix #65
Fix #62
This commit is contained in:
Bruno Oliveira
2016-06-06 20:46:25 -03:00
parent c27ac36fca
commit b4a7a1a8a8
3 changed files with 28 additions and 1 deletions

View File

@@ -46,7 +46,10 @@ class SlaveInteractor:
self.log("entering main loop")
torun = []
while 1:
name, kwargs = self.channel.receive()
try:
name, kwargs = self.channel.receive()
except EOFError:
return True
self.log("received command", name, kwargs)
if name == "runtests":
torun.extend(kwargs['indices'])