All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] A couple of fixes to error handling v2
@ 2012-02-23 17:38 Paul Eggleton
  2012-02-23 17:38 ` [PATCH 1/2] bitbake: fix parse errors not being reported Paul Eggleton
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Paul Eggleton @ 2012-02-23 17:38 UTC (permalink / raw)
  To: bitbake-devel

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




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-02-23 22:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-23 17:38 [PATCH 0/2] A couple of fixes to error handling v2 Paul Eggleton
2012-02-23 17:38 ` [PATCH 1/2] bitbake: fix parse errors not being reported Paul Eggleton
2012-02-23 17:38 ` [PATCH 2/2] bitbake: add file and line number to ParseError Paul Eggleton
2012-02-23 22:39 ` [PATCH 0/2] A couple of fixes to error handling v2 Richard Purdie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.