summaryrefslogtreecommitdiffstats
path: root/bitbake
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-14 08:20:37 +0100
commitfe1258d47855efcfdc7fe7ecd617ba2ae7e378b2 (patch)
tree8570eeee61317e11e5b956db0c357d2526e4fc47 /bitbake
parenta392877e57e07407be0e4fdf056d6e09c26f1ced (diff)
downloadpoky-fe1258d47855efcfdc7fe7ecd617ba2ae7e378b2.tar.gz
bitbake: cooker: Drop obsolete worker test
This call only ever happens in cooker context now so we can drop the nasty worker check from here. (Bitbake rev: bc0b30199a8e3624c5b9914430adbcc7c6bd4497) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/cooker.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index f03f16b3f8..daa00a45d0 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -141,11 +141,7 @@ class BBCooker:
141 self.parser = None 141 self.parser = None
142 142
143 def initConfigurationData(self): 143 def initConfigurationData(self):
144 worker = False 144 self.databuilder = bb.cookerdata.CookerDataBuilder(self.configuration, False)
145 if not self.configuration.server_register_idlecallback:
146 worker = True
147
148 self.databuilder = bb.cookerdata.CookerDataBuilder(self.configuration, worker)
149 self.data = self.databuilder.data 145 self.data = self.databuilder.data
150 146
151 def enableDataTracking(self): 147 def enableDataTracking(self):