summaryrefslogtreecommitdiffstats
path: root/bitbake/bin/bitbake
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-06-10 08:05:33 -0700
committerRichard Purdie <rpurdie@linux.intel.com>2010-07-02 15:41:36 +0100
commit77a6052e39a46ad30370692ed47d492e6dc2f6f5 (patch)
tree302c20879c0c1ddad7c40d41652ec389f357b667 /bitbake/bin/bitbake
parent40d7de8f06d789983ce060287f7517a440f1682c (diff)
downloadpoky-77a6052e39a46ad30370692ed47d492e6dc2f6f5.tar.gz
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 <chris_larson@mentor.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake/bin/bitbake')
-rwxr-xr-xbitbake/bin/bitbake13
1 files changed, 0 insertions, 13 deletions
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):
55 self.pkgs_to_build = [] 55 self.pkgs_to_build = []
56 56
57 57
58def print_exception(exc, value, tb):
59 """
60 Print the exception to stderr, only showing the traceback if bitbake
61 debugging is enabled.
62 """
63 if not bb.msg.debug_level[bb.msg.domain.Default]:
64 tb = None
65
66 sys.__excepthook__(exc, value, tb)
67
68sys.excepthook = print_exception
69
70
71_warnings_showwarning = warnings.showwarning 58_warnings_showwarning = warnings.showwarning
72def _showwarning(message, category, filename, lineno, file=None, line=None): 59def _showwarning(message, category, filename, lineno, file=None, line=None):
73 """Display python warning messages using bb.msg""" 60 """Display python warning messages using bb.msg"""