]> code.ossystems Code Review - openembedded-core.git/commitdiff
Drop the non-debug traceback suppressor, at this point I think it does more harm...
authorChris Larson <chris_larson@mentor.com>
Thu, 10 Jun 2010 15:05:33 +0000 (08:05 -0700)
committerRichard Purdie <rpurdie@linux.intel.com>
Fri, 2 Jul 2010 14:41:36 +0000 (15:41 +0100)
(Bitbake rev: 2c66ddc2713061ba31363ea69c24944f4a7cd3a8)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
bitbake/bin/bitbake

index 9580784e55997ffeee517903c2e01c5e0030bc47..65739106be6701d9a67610e26b4551bcd0ebdc07 100755 (executable)
@@ -55,19 +55,6 @@ class BBConfiguration(object):
         self.pkgs_to_build = []
 
 
-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[bb.msg.domain.Default]:
-        tb = None
-
-    sys.__excepthook__(exc, value, tb)
-
-sys.excepthook = print_exception
-
-
 _warnings_showwarning = warnings.showwarning
 def _showwarning(message, category, filename, lineno, file=None, line=None):
     """Display python warning messages using bb.msg"""