Openembedded Bitbake Development
 help / color / mirror / Atom feed
* [PATCH] cooker: Drop obsolete worker test
@ 2013-09-13 16:30 Richard Purdie
  0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2013-09-13 16:30 UTC (permalink / raw)
  To: bitbake-devel

This call only ever happens in cooker context now so we can drop the
nasty worker check from here.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index f03f16b..daa00a4 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):




^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-09-13 16:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-13 16:30 [PATCH] cooker: Drop obsolete worker test Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox