From 87f62d7c8d386df0d613da4f48c0b210902ab621 Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Fri, 9 Apr 2010 12:33:29 -0700 Subject: Ensure we always utilize the correct messaging domains (Bitbake rev: 92a2e2e90981c0615171abe03645a772d84f6986) Signed-off-by: Chris Larson Signed-off-by: Richard Purdie --- bitbake/lib/bb/utils.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bitbake/lib/bb/utils.py') 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): del os.environ[key] if len(removed_vars): - bb.debug(1, "Removed the following variables from the environment:", ",".join(removed_vars)) + bb.msg.debug(1, bb.msg.domain.Util, "Removed the following variables from the environment:", ",".join(removed_vars)) return removed_vars @@ -602,10 +602,10 @@ def mkdirhier(dir): directory already exists like os.makedirs """ - bb.debug(3, "mkdirhier(%s)" % dir) + bb.msg.debug(3, bb.msg.domain.Util, "mkdirhier(%s)" % dir) try: os.makedirs(dir) - bb.debug(2, "created " + dir) + bb.msg.debug(2, bb.msg.domain.Util, "created " + dir) except OSError, e: if e.errno != 17: raise e -- cgit v1.2.3-54-g00ecf