aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-06-10 08:05:33 -0700
committerChris Larson <chris_larson@mentor.com>2010-06-10 08:23:28 -0700
commit2c66ddc2713061ba31363ea69c24944f4a7cd3a8 (patch)
tree1dad806a768d15ead431052bee658f4e1d742e62
parentf84f382f340d6db15b9e5afb8c7c93969249a958 (diff)
downloadbitbake-2c66ddc2713061ba31363ea69c24944f4a7cd3a8.tar.gz
bitbake-2c66ddc2713061ba31363ea69c24944f4a7cd3a8.tar.bz2
bitbake-2c66ddc2713061ba31363ea69c24944f4a7cd3a8.zip
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>
-rwxr-xr-xbin/bitbake13
1 files changed, 0 insertions, 13 deletions
diff --git a/bin/bitbake b/bin/bitbake
index 126c254c0..a6ac45d66 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"""