]> code.ossystems Code Review - openembedded-core.git/commit
bitbake: [parser] Make resolve_file only resolve the path
authorHolger Freyther <ich@tamarin.(none)>
Tue, 19 May 2009 11:59:50 +0000 (13:59 +0200)
committerRichard Purdie <rpurdie@linux.intel.com>
Mon, 15 Feb 2010 17:07:55 +0000 (17:07 +0000)
commit7b57ad901af2ded02995d22718ec6f280a9edd7f
tree81b9b3909460269bdd60744a255ac923775fa71c
parent83ec5eaed411225d16a4fc4dc92323e3acc9f5cd
bitbake: [parser] Make resolve_file only resolve the path

Do not attempt to open the file in the resolve_file method
(a lot like bb.which... maybe bb.which can be used). This way
we don't need to open/close a file which we have already parsed.

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
bitbake/lib/bb/parse/__init__.py
bitbake/lib/bb/parse/parse_py/BBHandler.py
bitbake/lib/bb/parse/parse_py/ConfHandler.py