summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-09-07 15:09:24 -0700
committerRichard Purdie <rpurdie@linux.intel.com>2011-01-04 14:46:34 +0000
commit9c2bcae35eb7c2a58cef2e2923019de4a4017922 (patch)
tree82df81dbfad586d18a544dfb6fcf15c99f427477
parentfc27334d1a26efdeab734c80c3afcd5ecbc41de7 (diff)
downloadopenembedded-core-9c2bcae35eb7c2a58cef2e2923019de4a4017922.tar.gz
openembedded-core-9c2bcae35eb7c2a58cef2e2923019de4a4017922.tar.bz2
openembedded-core-9c2bcae35eb7c2a58cef2e2923019de4a4017922.tar.xz
openembedded-core-9c2bcae35eb7c2a58cef2e2923019de4a4017922.zip
Fix providerlog NameError
(Bitbake rev: 992e460f24d4da707c76d6e6d74d3684c9646279) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rw-r--r--bitbake/lib/bb/taskdata.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/bitbake/lib/bb/taskdata.py b/bitbake/lib/bb/taskdata.py
index 7dc1c0c82..8a8924120 100644
--- a/bitbake/lib/bb/taskdata.py
+++ b/bitbake/lib/bb/taskdata.py
@@ -488,7 +488,7 @@ class TaskData:
missing_list = [self.build_names_index[targetid]]
else:
missing_list = [self.build_names_index[targetid]] + missing_list
- providerlog.verbose("Target '%s' is unbuildable, removing...\nMissing or unbuildable dependency chain was: %s", self.build_names_index[targetid], missing_list)
+ logger.verbose("Target '%s' is unbuildable, removing...\nMissing or unbuildable dependency chain was: %s", self.build_names_index[targetid], missing_list)
self.failed_deps.append(targetid)
dependees = self.get_dependees(targetid)
for fnid in dependees:
@@ -501,7 +501,7 @@ class TaskData:
if self.abort and targetid in self.external_targets:
target = self.build_names_index[targetid]
- providerlog.error("Required build target '%s' has no buildable providers.\nMissing or unbuildable dependency chain was: %s", target, missing_list)
+ logger.error("Required build target '%s' has no buildable providers.\nMissing or unbuildable dependency chain was: %s", target, missing_list)
raise bb.providers.NoProvider(target)
def remove_runtarget(self, targetid, missing_list = []):
@@ -514,7 +514,7 @@ class TaskData:
else:
missing_list = [self.run_names_index[targetid]] + missing_list
- providerlog.info("Runtime target '%s' is unbuildable, removing...\nMissing or unbuildable dependency chain was: %s", self.run_names_index[targetid], missing_list)
+ logger.info("Runtime target '%s' is unbuildable, removing...\nMissing or unbuildable dependency chain was: %s", self.run_names_index[targetid], missing_list)
self.failed_rdeps.append(targetid)
dependees = self.get_rdependees(targetid)
for fnid in dependees: