From: Chris Larson Date: Tue, 20 Apr 2010 19:23:41 +0000 (-0700) Subject: Fix the debug level check in print_exception X-Git-Tag: 2011-1~5511 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=6f5206184439941418584b65dd86cec6b859d39f;p=openembedded-core.git Fix the debug level check in print_exception (Bitbake rev: 9cb52edf9198fe6db735abbb61d0c4026c97a8d9) Signed-off-by: Chris Larson Signed-off-by: Richard Purdie --- diff --git a/bitbake/bin/bitbake b/bitbake/bin/bitbake index 82af9a7190..7880968965 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)