summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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