summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/taskdata.py
diff options
context:
space:
mode:
authorChristopher Larson <kergoth@gmail.com>2011-09-14 10:43:48 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-09-20 22:22:21 +0100
commit2a09a93cbac9c5aca25236c669e4869b84928be2 (patch)
tree3aafa353cd12978d03a8039a15e20a5f5d2409e9 /bitbake/lib/bb/taskdata.py
parent7a0cbe6b0e5185aebabedc515b427994bc2a15dc (diff)
downloadpoky-2a09a93cbac9c5aca25236c669e4869b84928be2.tar.gz
taskdata: fix string formatting of an error message
(Bitbake rev: 224db31c46f5e91ced0e509c5fc564baaffa7b27) Signed-off-by: Christopher Larson <kergoth@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/taskdata.py')
-rw-r--r--bitbake/lib/bb/taskdata.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/taskdata.py b/bitbake/lib/bb/taskdata.py
index edbc86042c..ee1a7232dd 100644
--- a/bitbake/lib/bb/taskdata.py
+++ b/bitbake/lib/bb/taskdata.py
@@ -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("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 for %s, dependency %s does not contain ':' character\n. Task 'depends' should be specified in the form 'packagename:task'" % (fn, dep))
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