diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-05-24 14:23:44 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-05-25 11:15:12 +0100 |
commit | e6d9af19d6ef94522e5c53eb84c490e7b5473c69 (patch) | |
tree | 3fa0c97270cd762551087cfd3731ca91475f5fda /bitbake/lib/prserv | |
parent | 0b14db452413df414fbadf14d6dae287bc5ae9ca (diff) | |
download | poky-e6d9af19d6ef94522e5c53eb84c490e7b5473c69.tar.gz |
bitbake/exceptions: Handle reports from the field of exception code failures
Despite using python 2.6, there have been reports of issues where
bitbake is printing tracebacks with errors in the exception handling
code. This was masking the real error.
Since we need to do whatever we can to give the user good feedback about
errors, detect the tuple instead of namedtuple case and don't fault
in the exception handler but just give up trying to traceback any further.
In the reported cases, this gives a message the user can then understand.
(Bitbake rev: 9ec0429271e68527a55fc123dea5a1b959c6ec3b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/prserv')
0 files changed, 0 insertions, 0 deletions