From: Chris Larson Date: Thu, 10 Jun 2010 15:05:33 +0000 (-0700) Subject: Drop the non-debug traceback suppressor, at this point I think it does more harm... X-Git-Tag: 2011-1~5479 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=77a6052e39a46ad30370692ed47d492e6dc2f6f5;p=openembedded-core.git Drop the non-debug traceback suppressor, at this point I think it does more harm than good (Bitbake rev: 2c66ddc2713061ba31363ea69c24944f4a7cd3a8) Signed-off-by: Chris Larson Signed-off-by: Richard Purdie --- diff --git a/bitbake/bin/bitbake b/bitbake/bin/bitbake index 9580784e55..65739106be 100755 --- a/bitbake/bin/bitbake +++ b/bitbake/bin/bitbake @@ -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"""