summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/taskdata.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-08-15 17:29:09 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-08-15 17:31:52 +0100
commita21ff559e7c93e9da61104f4a33e42e6004189fd (patch)
tree0f71f9cdd87c3ddacacd58732791501392bff5ed /bitbake/lib/bb/taskdata.py
parenta7e4747f499d4219c29277e80e64e4fdf604628a (diff)
downloadpoky-a21ff559e7c93e9da61104f4a33e42e6004189fd.tar.gz
Fixup remaining bb.msg.domain users
(Bitbake rev: d5abdacaf9ac604ef8d8c1bafb9b30617827cb4f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/taskdata.py')
-rw-r--r--bitbake/lib/bb/taskdata.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/taskdata.py b/bitbake/lib/bb/taskdata.py
index 79602b6389..edbc86042c 100644
--- a/bitbake/lib/bb/taskdata.py
+++ b/bitbake/lib/bb/taskdata.py
@@ -153,7 +153,7 @@ class TaskData:
153 fnid = self.getfn_id(fn) 153 fnid = self.getfn_id(fn)
154 154
155 if fnid in self.failed_fnids: 155 if fnid in self.failed_fnids:
156 bb.msg.fatal(bb.msg.domain.TaskData, "Trying to re-add a failed file? Something is broken...") 156 bb.msg.fatal("TaskData", "Trying to re-add a failed file? Something is broken...")
157 157
158 # Check if we've already seen this fn 158 # Check if we've already seen this fn
159 if fnid in self.tasks_fnid: 159 if fnid in self.tasks_fnid:
@@ -175,7 +175,7 @@ class TaskData:
175 for dep in task_deps['depends'][task].split(): 175 for dep in task_deps['depends'][task].split():
176 if dep: 176 if dep:
177 if ":" not in dep: 177 if ":" not in dep:
178 bb.msg.fatal(bb.msg.domain.TaskData, "Error, dependency %s does not contain ':' character\n. Task 'depends' should be specified in the form 'packagename:task'" % (dep, fn)) 178 bb.msg.fatal("TaskData", "Error, dependency %s does not contain ':' character\n. Task 'depends' should be specified in the form 'packagename:task'" % (dep, fn))
179 ids.append(((self.getbuild_id(dep.split(":")[0])), dep.split(":")[1])) 179 ids.append(((self.getbuild_id(dep.split(":")[0])), dep.split(":")[1]))
180 self.tasks_idepends[taskid].extend(ids) 180 self.tasks_idepends[taskid].extend(ids)
181 181