summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/utils.py
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-04-09 12:33:29 -0700
committerRichard Purdie <rpurdie@linux.intel.com>2010-07-02 15:41:31 +0100
commit87f62d7c8d386df0d613da4f48c0b210902ab621 (patch)
treebfa71505321276841f07bf875e479b272547b9f3 /bitbake/lib/bb/utils.py
parentac170b0c346184bd8ba2fe1d56ccb9ea003b1a40 (diff)
downloadpoky-87f62d7c8d386df0d613da4f48c0b210902ab621.tar.gz
Ensure we always utilize the correct messaging domains
(Bitbake rev: 92a2e2e90981c0615171abe03645a772d84f6986) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake/lib/bb/utils.py')
-rw-r--r--bitbake/lib/bb/utils.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/bitbake/lib/bb/utils.py b/bitbake/lib/bb/utils.py
index dce80b6342..83304e4a01 100644
--- a/bitbake/lib/bb/utils.py
+++ b/bitbake/lib/bb/utils.py
@@ -536,7 +536,7 @@ def filter_environment(good_vars):
536 del os.environ[key] 536 del os.environ[key]
537 537
538 if len(removed_vars): 538 if len(removed_vars):
539 bb.debug(1, "Removed the following variables from the environment:", ",".join(removed_vars)) 539 bb.msg.debug(1, bb.msg.domain.Util, "Removed the following variables from the environment:", ",".join(removed_vars))
540 540
541 return removed_vars 541 return removed_vars
542 542
@@ -602,10 +602,10 @@ def mkdirhier(dir):
602 directory already exists like os.makedirs 602 directory already exists like os.makedirs
603 """ 603 """
604 604
605 bb.debug(3, "mkdirhier(%s)" % dir) 605 bb.msg.debug(3, bb.msg.domain.Util, "mkdirhier(%s)" % dir)
606 try: 606 try:
607 os.makedirs(dir) 607 os.makedirs(dir)
608 bb.debug(2, "created " + dir) 608 bb.msg.debug(2, bb.msg.domain.Util, "created " + dir)
609 except OSError, e: 609 except OSError, e:
610 if e.errno != 17: raise e 610 if e.errno != 17: raise e
611 611