cooker: pass traceback back from parsing thread
authorChris Larson <chris_larson@mentor.com>
Thu, 5 May 2011 23:55:33 +0000 (16:55 -0700)
committerChris Larson <chris_larson@mentor.com>
Mon, 16 May 2011 19:39:42 +0000 (12:39 -0700)
commit8c33f50eb68411c071c001331e0134aeb776953b
tree4d56318a52728b6a128ba924a529208f235d0fc9
parenta41c217c6e9195f8b9ea2de6e1d335b10b904558
cooker: pass traceback back from parsing thread

Uses bb.exceptions to get a traceback back from the parsing thread to the main
thread, where it is then formatted.  Also enables 3 lines of context for the
formatted traceback, and limits the number of entries displayed to 5.

Signed-off-by: Chris Larson <chris_larson@mentor.com>
lib/bb/cooker.py