]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.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)
committerChris Larson <chris_larson@mentor.com>
Fri, 10 Dec 2010 03:26:31 +0000 (22:26 -0500)
commitf99ee4680c9f67b7ed13fc06044ba2382f9a782c
treedc05986bceeb1fdfdd5d83a1fe73b0efca54d162
parent53740977521bc81ffa37adfa7bbeb8f2a80ea165
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.

Signed-off-by: Chris Larson <chris_larson@mentor.com>
lib/bb/build.py
lib/bb/utils.py