From c8498f59eca15e4f0ee01c99b193698398596207 Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Fri, 9 Apr 2010 19:33:04 -0700 Subject: Fix invalid logging domain warning (Bitbake rev: 8441fab6f27191fcc3c153a10753871e6aef08b1) Signed-off-by: Chris Larson Signed-off-by: Richard Purdie --- bitbake/lib/bb/msg.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bitbake/lib/bb') diff --git a/bitbake/lib/bb/msg.py b/bitbake/lib/bb/msg.py index 5fc1d5d4ad..5df9b1f284 100644 --- a/bitbake/lib/bb/msg.py +++ b/bitbake/lib/bb/msg.py @@ -86,14 +86,14 @@ def set_debug_level(level): def set_verbose(level): verbose = level -def set_debug_domains(msgdomainstrings): - for domainstr in msgdomainstrings: +def set_debug_domains(strdomains): + for domainstr in strdomains: for d in domain: if domain._fields[d] == domainstr: debug_level[d] += 1 break else: - warn(None, "Logging domain %s is not valid, ignoring" % domain) + warn(None, "Logging domain %s is not valid, ignoring" % domainstr) # # Message handling functions -- cgit v1.2.3