remove the ready flag if you're going to die

This commit is contained in:
Stephen McQuay 2011-05-18 14:30:20 -06:00
parent 772e384360
commit 8a74f26619

View File

@ -76,6 +76,7 @@ if __name__ == '__main__':
print "%s: got message from master: %s" % (myname, action)
if action in ('teardown', 'slay'):
masterq.get()
break
while not tasksq.empty():