summaryrefslogtreecommitdiff
path: root/tools/buildman/builderthread.py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-09-18 16:48:36 -0600
committersjg <sjg@chromium.org>2016-10-09 09:30:32 -0600
commit63781bd65e70719dbab9f2f5bbe8aac7b8e0f13e (patch)
tree16f5741464eddfe9b9780d6335cad160da201247 /tools/buildman/builderthread.py
parentd436e38189a26227274a3014d3d838eb3f183488 (diff)
downloadu-boot-imx-63781bd65e70719dbab9f2f5bbe8aac7b8e0f13e.zip
u-boot-imx-63781bd65e70719dbab9f2f5bbe8aac7b8e0f13e.tar.gz
u-boot-imx-63781bd65e70719dbab9f2f5bbe8aac7b8e0f13e.tar.bz2
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>
Diffstat (limited to 'tools/buildman/builderthread.py')
-rw-r--r--tools/buildman/builderthread.py10
1 files changed, 1 insertions, 9 deletions
diff --git a/tools/buildman/builderthread.py b/tools/buildman/builderthread.py
index c512d3b..af4d15a 100644
--- a/tools/buildman/builderthread.py
+++ b/tools/buildman/builderthread.py
@@ -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()