summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-04-09 19:33:04 -0700
committerRichard Purdie <rpurdie@linux.intel.com>2010-07-02 15:41:32 +0100
commitc8498f59eca15e4f0ee01c99b193698398596207 (patch)
treef9c45ee482b05c97169126639f42a56276aa7269
parent316ab4bb2bd76f788b5aa7ee6e0326551b56e267 (diff)
downloadopenembedded-core-c8498f59eca15e4f0ee01c99b193698398596207.tar.gz
openembedded-core-c8498f59eca15e4f0ee01c99b193698398596207.tar.bz2
openembedded-core-c8498f59eca15e4f0ee01c99b193698398596207.zip
Fix invalid logging domain warning
(Bitbake rev: 8441fab6f27191fcc3c153a10753871e6aef08b1) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rw-r--r--bitbake/lib/bb/msg.py6
1 files changed, 3 insertions, 3 deletions
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