summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-04-20 12:23:41 -0700
committerRichard Purdie <rpurdie@linux.intel.com>2010-07-02 15:41:34 +0100
commit6f5206184439941418584b65dd86cec6b859d39f (patch)
tree5a4ec87cd7ee59297545d4cf0a65481d51ce8c5e
parentc3eae29efa2318ee4f12b1e1c8d562e18d1cee87 (diff)
downloadopenembedded-core-6f5206184439941418584b65dd86cec6b859d39f.tar.gz
openembedded-core-6f5206184439941418584b65dd86cec6b859d39f.tar.bz2
openembedded-core-6f5206184439941418584b65dd86cec6b859d39f.tar.xz
openembedded-core-6f5206184439941418584b65dd86cec6b859d39f.zip
Fix the debug level check in print_exception
(Bitbake rev: 9cb52edf9198fe6db735abbb61d0c4026c97a8d9) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rwxr-xr-xbitbake/bin/bitbake2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/bin/bitbake b/bitbake/bin/bitbake
index 82af9a719..788096896 100755
--- a/bitbake/bin/bitbake
+++ b/bitbake/bin/bitbake
@@ -60,7 +60,7 @@ 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['default']:
+ if not bb.msg.debug_level[bb.msg.domain.Default]:
tb = None
sys.__excepthook__(exc, value, tb)