]> code.ossystems Code Review - openembedded-core.git/commit
build: use a contextmanager for locks
authorChris Larson <chris_larson@mentor.com>
Fri, 10 Dec 2010 01:29:31 +0000 (20:29 -0500)
committerRichard Purdie <rpurdie@linux.intel.com>
Tue, 4 Jan 2011 14:46:48 +0000 (14:46 +0000)
commite2363f3cdddb597c0321b6c396306be966ac58f9
treecef6f4fd59a91c558a528b841c3159f264f68234
parentb4eff9fcefe2fefab1caaf22e497317e9338063e
build: use a contextmanager for locks

Also don't bother passing logfile to exec_func_python, at least until we start
adding the logfile as a file handler to the bitbake logger.

(Bitbake rev: f99ee4680c9f67b7ed13fc06044ba2382f9a782c)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
bitbake/lib/bb/build.py
bitbake/lib/bb/utils.py