summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Larson <kergoth@gmail.com>2011-09-14 10:43:48 -0700
committerChristopher Larson <kergoth@gmail.com>2011-09-14 10:43:48 -0700
commit224db31c46f5e91ced0e509c5fc564baaffa7b27 (patch)
tree1810c350bc6dc1cd89f89d621be0f9bbfb5bcbb3
parentf4be83aae77a713e2b5a2d094651639b6e641031 (diff)
downloadbitbake-224db31c46f5e91ced0e509c5fc564baaffa7b27.tar.gz
taskdata: fix string formatting of an error message
Signed-off-by: Christopher Larson <kergoth@gmail.com>
-rw-r--r--lib/bb/taskdata.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/taskdata.py b/lib/bb/taskdata.py
index edbc86042..ee1a7232d 100644
--- a/lib/bb/taskdata.py
+++ b/lib/bb/taskdata.py
@@ -175,7 +175,7 @@ class TaskData:
for dep in task_deps['depends'][task].split():
if dep:
if ":" not in dep:
- bb.msg.fatal("TaskData", "Error, dependency %s does not contain ':' character\n. Task 'depends' should be specified in the form 'packagename:task'" % (dep, fn))
+ 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))
ids.append(((self.getbuild_id(dep.split(":")[0])), dep.split(":")[1]))
self.tasks_idepends[taskid].extend(ids)