mirror of
https://git.yoctoproject.org/poky
synced 2026-10-20 18:38:18 +00:00
bitbake-dev: Sync with changes upstream
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
1 parent
f1216d2adb
commit
627d9b1bde
9 files changed
+57
-22
No files matched your search
@@ -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
|
||||
#============================================================================#
|
||||
|
||||
Reference in new issue
Block a user