buildman: Drop the 'active' flag in the builder

This serves no real purpose, since when we are not active, we exit. Drop it.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2016-09-18 16:48:36 -06:00
committed by sjg
parent d436e38189
commit 63781bd65e
2 changed files with 1 additions and 16 deletions
+1 -9
View File
@@ -473,14 +473,6 @@ class BuilderThread(threading.Thread):
alive = True
while True:
job = self.builder.queue.get()
if self.builder.active and alive:
if alive:
self.RunJob(job)
'''
try:
if self.builder.active and alive:
self.RunJob(job)
except Exception as err:
alive = False
print err
'''
self.builder.queue.task_done()