Skip to contentSkip to conversation

Richard Purdie : cooker.py: Convert a bb.data. expand refernce to the updated syntax

PATCH [email protected] 1 participant 1 message Jan 5, 2012

lore
Share & tools
lore
#0 lore raw
Module: bitbake.git
Branch: master
Commit: 4483dc4bc4711cd8e144078090727348beb24879
URL:    http://git.openembedded.org/?p=bitbake.git&a=commit;h=4483dc4bc4711cd8e144078090727348beb24879
Author: Richard Purdie <[email protected]>
Date:   Thu Jan  5 12:57:12 2012 +0000

cooker.py: Convert a bb.data.expand refernce to the updated syntax

---

 lib/bb/cooker.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
lib/bb/cooker.py +1 -1
index cbe0d71..27abca0 100644
@@ -137,7 +137,7 @@ class BBCooker:
 
         # Take a lock so only one copy of bitbake can run against a given build
         # directory at a time
-        lockfile = bb.data.expand("${TOPDIR}/bitbake.lock", self.configuration.data)
+        lockfile = self.configuration.data.expand("${TOPDIR}/bitbake.lock")
         self.lock = bb.utils.lockfile(lockfile, False, False)
         if not self.lock:
             bb.fatal("Only one copy of bitbake should be run against a build directory")