poky/bitbake
Richard Purdie 101b599110 bitbake/data_smart: Improve Variable expansion error handling
If expanding a variable triggers an exception the caller currently has no
way to supress the error message or otherwise handle the siutation. An
example of where this is a problem is "bitbake -e" showing tracebacks and
errors for variables like SRCPV in OE/Poky.

Secondly in a chained expansion fails, log mesages are recorded for
every step of the expansion, not just the innermost error which is
where the real failure occured.

To fix this we introduce a new exception ExpansionError which callers
can handle as appropriate.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-23 13:13:31 +00:00
..
bin bitbake-layers: fix bug with env vars leaking in 2011-02-10 22:34:24 +00:00
contrib vim: properly highlight python inside of ${@} 2011-01-10 22:10:41 +00:00
doc manual: document scmdata=keep for CVS, SVN and Git 2011-01-04 14:46:51 +00:00
lib bitbake/data_smart: Improve Variable expansion error handling 2011-02-23 13:13:31 +00:00
AUTHORS misc: Update the email address to a working one. 2011-01-04 14:36:54 +00:00
ChangeLog *: Fix typo in documentation 2010-08-04 16:12:39 +01:00
COPYING bitbake: Sync with upstream. 2007-01-08 23:53:01 +00:00
HEADER bitbake: Sync with upstream. 2007-01-08 23:53:01 +00:00