summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-09-18 16:48:38 -0600
committersjg <sjg@chromium.org>2016-10-09 09:30:32 -0600
commit2880e6b5e231690bbc64816d696322b06d41b2ee (patch)
tree93cdcc10ea63b6f480b325bf9c36ddb4b223d814 /tools
parent2f2566482fc5c24557126043394ce82088f60262 (diff)
buildman: Drop the 'alive' flag in BuilderThread
This is not used, so drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools')
-rw-r--r--tools/buildman/builderthread.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/buildman/builderthread.py b/tools/buildman/builderthread.py
index af4d15a5b42..c4fe2195321 100644
--- a/tools/buildman/builderthread.py
+++ b/tools/buildman/builderthread.py
@@ -470,9 +470,7 @@ class BuilderThread(threading.Thread):
This thread picks a job from the queue, runs it, and then goes to the
next job.
"""
- alive = True
while True:
job = self.builder.queue.get()
- if alive:
- self.RunJob(job)
+ self.RunJob(job)
self.builder.queue.task_done()