]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
buildman: Drop the 'alive' flag in BuilderThread
authorSimon Glass <sjg@chromium.org>
Sun, 18 Sep 2016 22:48:38 +0000 (16:48 -0600)
committersjg <sjg@chromium.org>
Sun, 9 Oct 2016 15:30:32 +0000 (09:30 -0600)
This is not used, so drop it.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/buildman/builderthread.py

index af4d15a5b42abdaf5755e0e1b921579701ad8625..c4fe21953214f7d9e4f022c6a8686188afe72660 100644 (file)
@@ -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()