From patchwork Thu Jan 5 13:11:52 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [bitbake-devel] Richard Purdie : cooker.py: Convert a bb.data. expand refernce to the updated syntax Date: Thu, 05 Jan 2012 13:11:52 -0000 From: git@git.openembedded.org X-Patchwork-Id: 18437 Message-Id: <20120105131152.D15BB10331@opal> To: bitbake-devel@lists.openembedded.org Module: bitbake.git Branch: master Commit: 4483dc4bc4711cd8e144078090727348beb24879 URL: http://git.openembedded.org/?p=bitbake.git&a=commit;h=4483dc4bc4711cd8e144078090727348beb24879 Author: Richard Purdie 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 --- 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")