From fe1258d47855efcfdc7fe7ecd617ba2ae7e378b2 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 13 Sep 2013 17:30:18 +0100 Subject: [PATCH] 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 --- bitbake/lib/bb/cooker.py | 6 +----- 1 file changed, 1 insertion(+), 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: 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):