cooker: Drop obsolete worker test
PATCH 1/1 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 <[email protected]>
---
bitbake/lib/bb/cooker.py +1 -5
@@ -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):