diff options
-rwxr-xr-x | bitbake/bin/bitbake | 13 |
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 | ||
58 | def 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 | |||
68 | sys.excepthook = print_exception | ||
69 | |||
70 | |||
71 | _warnings_showwarning = warnings.showwarning | 58 | _warnings_showwarning = warnings.showwarning |
72 | def _showwarning(message, category, filename, lineno, file=None, line=None): | 59 | def _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""" |