bitbake-dev: Sync with changes upstream

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
Richard Purdie
2009-10-17 20:11:27 +01:00
parent f1216d2adb
commit 627d9b1bde
9 changed files with 57 additions and 22 deletions

View File

@@ -48,6 +48,17 @@ class BBConfiguration( object ):
setattr( self, key, val )
def print_exception(exc, value, tb):
"""
Print the exception to stderr, only showing the traceback if bitbake
debugging is enabled.
"""
if not bb.msg.debug_level['default']:
tb = None
sys.__excepthook__(exc, value, tb)
#============================================================================#
# main
#============================================================================#