Openembedded Bitbake Development
 help / color / mirror / Atom feed
* Richard Purdie : cooker.py: Convert a bb.data. expand refernce to the updated syntax
@ 2012-01-05 13:11 git
  0 siblings, 0 replies; only message in thread
From: git @ 2012-01-05 13:11 UTC (permalink / raw)
  To: bitbake-devel

Module: bitbake.git
Branch: master
Commit: 4483dc4bc4711cd8e144078090727348beb24879
URL:    http://git.openembedded.org/?p=bitbake.git&a=commit;h=4483dc4bc4711cd8e144078090727348beb24879

Author: Richard Purdie <richard.purdie@linuxfoundation.org>
Date:   Thu Jan  5 12:57:12 2012 +0000

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

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

---

 lib/bb/cooker.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/bb/cooker.py b/lib/bb/cooker.py
index cbe0d71..27abca0 100644
--- a/lib/bb/cooker.py
+++ b/lib/bb/cooker.py
@@ -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")




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

only message in thread, other threads:[~2012-01-05 13:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-05 13:11 Richard Purdie : cooker.py: Convert a bb.data. expand refernce to the updated syntax git

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