bitbake/cooker.py: Bring into sync with upstream bitbake (trivial difference)
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 31 Mar 2012 07:07:38 +0000 (08:07 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 31 Mar 2012 07:07:49 +0000 (08:07 +0100)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/cooker.py

index 75c77b7..dea0aad 100644 (file)
@@ -178,7 +178,7 @@ class BBCooker:
         self.configuration.data = bb.data.init()
 
         if not self.server_registration_cb:
-            bb.data.setVar("BB_WORKERCONTEXT", "1", self.configuration.data)
+            self.configuration.data.setVar("BB_WORKERCONTEXT", "1")
 
         filtered_keys = bb.utils.approved_variables()
         bb.data.inheritFromOS(self.configuration.data, self.savedenv, filtered_keys)