summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-08-30 18:01:46 -0700
committerChris Larson <chris_larson@mentor.com>2010-08-30 18:03:07 -0700
commitd237fa4e030c3339beed5268678645e7bb735a06 (patch)
tree76a8042516d1eb0a86d6d6d5b47854052e10d2f4
parent47482fb9f1b925784e748705abdc9fcec2ce374a (diff)
downloadbitbake-d237fa4e030c3339beed5268678645e7bb735a06.tar.gz
Switch the debug_level dictionary to a defaultdict
This already exists in master, but in a different form. Signed-off-by: Chris Larson <chris_larson@mentor.com>
-rw-r--r--lib/bb/msg.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/bb/msg.py b/lib/bb/msg.py
index 3fcf7091b..11a179205 100644
--- a/lib/bb/msg.py
+++ b/lib/bb/msg.py
@@ -24,8 +24,9 @@ Message handling infrastructure for bitbake
import sys, bb
from bb import event
+from collections import defaultdict
-debug_level = {}
+debug_level = defaultdict(int)
verbose = False