From: Paul Eggleton <paul.eggleton@linux.intel.com>
To: bitbake-devel@lists.openembedded.org
Subject: [PATCH 0/2] A couple of fixes to error handling v2
Date: Thu, 23 Feb 2012 17:38:06 +0000 [thread overview]
Message-ID: <cover.1330018579.git.paul.eggleton@linux.intel.com> (raw)
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
next reply other threads:[~2012-02-23 17:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-23 17:38 Paul Eggleton [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1330018579.git.paul.eggleton@linux.intel.com \
--to=paul.eggleton@linux.intel.com \
--cc=bitbake-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.