summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-01-05 12:57:12 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-01-05 12:57:12 +0000
commit4483dc4bc4711cd8e144078090727348beb24879 (patch)
tree0f1d747de2a3b78de61a6e0a724928193cff1171
parent1f2867b79f1cd2bfbdc849ba5677a39db6fa3396 (diff)
downloadbitbake-4483dc4bc4711cd8e144078090727348beb24879.tar.gz
cooker.py: Convert a bb.data.expand refernce to the updated syntax
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--lib/bb/cooker.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/cooker.py b/lib/bb/cooker.py
index cbe0d712e..27abca0fa 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")