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>
This commit is contained in:
parent
a392877e57
commit
fe1258d478
|
@ -141,11 +141,7 @@ class BBCooker:
|
||||||
self.parser = None
|
self.parser = None
|
||||||
|
|
||||||
def initConfigurationData(self):
|
def initConfigurationData(self):
|
||||||
worker = False
|
self.databuilder = bb.cookerdata.CookerDataBuilder(self.configuration, False)
|
||||||
if not self.configuration.server_register_idlecallback:
|
|
||||||
worker = True
|
|
||||||
|
|
||||||
self.databuilder = bb.cookerdata.CookerDataBuilder(self.configuration, worker)
|
|
||||||
self.data = self.databuilder.data
|
self.data = self.databuilder.data
|
||||||
|
|
||||||
def enableDataTracking(self):
|
def enableDataTracking(self):
|
||||||
|
|
Loading…
Reference in New Issue