From d237fa4e030c3339beed5268678645e7bb735a06 Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Mon, 30 Aug 2010 18:01:46 -0700 Subject: Switch the debug_level dictionary to a defaultdict This already exists in master, but in a different form. Signed-off-by: Chris Larson --- lib/bb/msg.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit 1.2.3-korg