From 6f5206184439941418584b65dd86cec6b859d39f Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Tue, 20 Apr 2010 12:23:41 -0700 Subject: Fix the debug level check in print_exception (Bitbake rev: 9cb52edf9198fe6db735abbb61d0c4026c97a8d9) Signed-off-by: Chris Larson Signed-off-by: Richard Purdie --- bitbake/bin/bitbake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3