summaryrefslogtreecommitdiffstats
path: root/bitbake-dev/bin/bitbake
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake-dev/bin/bitbake')
-rwxr-xr-xbitbake-dev/bin/bitbake11
1 files changed, 11 insertions, 0 deletions
diff --git a/bitbake-dev/bin/bitbake b/bitbake-dev/bin/bitbake
index d9aa910422..34c49b8c58 100755
--- a/bitbake-dev/bin/bitbake
+++ b/bitbake-dev/bin/bitbake
@@ -48,6 +48,17 @@ class BBConfiguration( object ):
48 setattr( self, key, val ) 48 setattr( self, key, val )
49 49
50 50
51def print_exception(exc, value, tb):
52 """
53 Print the exception to stderr, only showing the traceback if bitbake
54 debugging is enabled.
55 """
56 if not bb.msg.debug_level['default']:
57 tb = None
58
59 sys.__excepthook__(exc, value, tb)
60
61
51#============================================================================# 62#============================================================================#
52# main 63# main
53#============================================================================# 64#============================================================================#