summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-09-13 17:30:18 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-09-13 17:45:36 +0100
commitbc0b30199a8e3624c5b9914430adbcc7c6bd4497 (patch)
tree69c021a3a3faa88166fb171bbfe05f8b5e7597ce
parent8e8e17631d790271b1be747c4b45059ec38ab606 (diff)
downloadbitbake-bc0b30199a8e3624c5b9914430adbcc7c6bd4497.tar.gz
cooker: Drop obsolete worker test
This call only ever happens in cooker context now so we can drop the nasty worker check from here. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--lib/bb/cooker.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/bb/cooker.py b/lib/bb/cooker.py
index f03f16b3f..daa00a45d 100644
--- a/lib/bb/cooker.py
+++ b/lib/bb/cooker.py
@@ -141,11 +141,7 @@ class BBCooker:
self.parser = None
def initConfigurationData(self):
- worker = False
- if not self.configuration.server_register_idlecallback:
- worker = True
-
- self.databuilder = bb.cookerdata.CookerDataBuilder(self.configuration, worker)
+ self.databuilder = bb.cookerdata.CookerDataBuilder(self.configuration, False)
self.data = self.databuilder.data
def enableDataTracking(self):