summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/runqueue.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-16 15:57:22 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-17 10:54:07 +0100
commit05e5ec2be8c0cf291956b46885bd847bb1987a3b (patch)
tree92a4a8f1ebe17db46098c2a7888ad2dd0afbdba1 /bitbake/lib/bb/runqueue.py
parentac8ec3bb3d697fccfe80ca430cd1e73387775348 (diff)
downloadpoky-05e5ec2be8c0cf291956b46885bd847bb1987a3b.tar.gz
bitbake: runqueue.py: Improve error output to be more useful when non-existent tasks are found
(Bitbake rev: 9be584272a63f48d8dc7c9f05b017d11250aa247) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/runqueue.py')
-rw-r--r--bitbake/lib/bb/runqueue.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py
index cb4ffb21fb..0a8c723b15 100644
--- a/bitbake/lib/bb/runqueue.py
+++ b/bitbake/lib/bb/runqueue.py
@@ -1450,7 +1450,7 @@ class RunQueueExecuteScenequeue(RunQueueExecute):
1450 dep = self.rqdata.taskData.fn_index[depdata] 1450 dep = self.rqdata.taskData.fn_index[depdata]
1451 taskid = self.rqdata.get_task_id(self.rqdata.taskData.getfn_id(dep), idependtask.replace("_setscene", "")) 1451 taskid = self.rqdata.get_task_id(self.rqdata.taskData.getfn_id(dep), idependtask.replace("_setscene", ""))
1452 if taskid is None: 1452 if taskid is None:
1453 bb.msg.fatal("RunQueue", "Task %s depends upon non-existent task %s:%s" % (self.rqdata.taskData.tasks_name[realid], dep, idependtask)) 1453 bb.msg.fatal("RunQueue", "Task %s:%s depends upon non-existent task %s:%s" % (self.rqdata.taskData.fn_index[self.rqdata.runq_fnid[realid]], self.rqdata.taskData.tasks_name[realid], dep, idependtask))
1454 1454
1455 sq_revdeps_squash[self.rqdata.runq_setscene.index(task)].add(self.rqdata.runq_setscene.index(taskid)) 1455 sq_revdeps_squash[self.rqdata.runq_setscene.index(task)].add(self.rqdata.runq_setscene.index(taskid))
1456 # Have to zero this to avoid circular dependencies 1456 # Have to zero this to avoid circular dependencies