From 2880e6b5e231690bbc64816d696322b06d41b2ee Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sun, 18 Sep 2016 16:48:38 -0600 Subject: [PATCH] buildman: Drop the 'alive' flag in BuilderThread This is not used, so drop it. Signed-off-by: Simon Glass --- tools/buildman/builderthread.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tools/buildman/builderthread.py b/tools/buildman/builderthread.py index af4d15a5b4..c4fe219532 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()