From: Richard Purdie Date: Fri, 13 Sep 2013 16:30:18 +0000 (+0100) Subject: cooker: Drop obsolete worker test X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bc0b30199a8e3624c5b9914430adbcc7c6bd4497;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 --- diff --git a/lib/bb/cooker.py b/lib/bb/cooker.py index f03f16b3f83..daa00a45d0c 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):