]> code.ossystems Code Review - openembedded-core.git/commitdiff
Fix the debug level check in print_exception
authorChris Larson <chris_larson@mentor.com>
Tue, 20 Apr 2010 19:23:41 +0000 (12:23 -0700)
committerRichard Purdie <rpurdie@linux.intel.com>
Fri, 2 Jul 2010 14:41:34 +0000 (15:41 +0100)
(Bitbake rev: 9cb52edf9198fe6db735abbb61d0c4026c97a8d9)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
bitbake/bin/bitbake

index 82af9a719022da2b82295d375871097e04e40ab1..7880968965cd1feea01317587696395bac6ece9b 100755 (executable)
@@ -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)