[bitbake-devel] [PATCH 0/2] A couple of fixes to error handling v2
Paul Eggleton
paul.eggleton at linux.intel.com
Thu Feb 23 17:38:06 UTC 2012
A couple of patches to fix/improve error handling during parsing.
Since v1, remove changes to general exception handling that weren't
necessary and bypassed the ability for the UI to format the exception.
The patches (against poky, but apply cleanly with -p2 against bitbake
master) are available at:
git://git.yoctoproject.org/poky-contrib paule/bitbake-errors2
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=paule/bitbake-errors2
Paul Eggleton (2):
bitbake: fix parse errors not being reported
bitbake: add file and line number to ParseError
bitbake/lib/bb/cooker.py | 12 +++++-------
bitbake/lib/bb/parse/__init__.py | 15 +++++++++++++--
bitbake/lib/bb/parse/ast.py | 8 ++++----
bitbake/lib/bb/parse/parse_py/BBHandler.py | 6 ++----
bitbake/lib/bb/parse/parse_py/ConfHandler.py | 11 ++++++-----
5 files changed, 30 insertions(+), 22 deletions(-)
--
1.7.5.4
More information about the bitbake-devel
mailing list