diff options
author | Chris Larson <chris_larson@mentor.com> | 2010-06-10 08:05:33 -0700 |
---|---|---|
committer | Chris Larson <chris_larson@mentor.com> | 2010-06-10 08:23:28 -0700 |
commit | 2c66ddc2713061ba31363ea69c24944f4a7cd3a8 (patch) | |
tree | 1dad806a768d15ead431052bee658f4e1d742e62 /bin/bitbake | |
parent | f84f382f340d6db15b9e5afb8c7c93969249a958 (diff) | |
download | bitbake-2c66ddc2713061ba31363ea69c24944f4a7cd3a8.tar.gz |
Drop the non-debug traceback suppressor, at this point I think it does more harm than good
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Diffstat (limited to 'bin/bitbake')
-rwxr-xr-x | bin/bitbake | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/bin/bitbake b/bin/bitbake index 126c254c..a6ac45d6 100755 --- a/bin/bitbake +++ b/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""" |