summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/taskdata.py
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-03-03 22:01:45 +0000
committerRichard Purdie <richard@openedhand.com>2008-03-03 22:01:45 +0000
commitab191d21e2e5e1609206146d238af6ec0b3f0554 (patch)
tree728fa74dbf00f6b11964aa53b8427a0d221d6e91 /bitbake/lib/bb/taskdata.py
parente88b4753781d54dc2625c3260c611d30ad76dbed (diff)
downloadpoky-ab191d21e2e5e1609206146d238af6ec0b3f0554.tar.gz
bitbake: Update to bitbake 1.8 branch head
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3892 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'bitbake/lib/bb/taskdata.py')
-rw-r--r--bitbake/lib/bb/taskdata.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/bitbake/lib/bb/taskdata.py b/bitbake/lib/bb/taskdata.py
index 3dac6c26af..4a79e7a56d 100644
--- a/bitbake/lib/bb/taskdata.py
+++ b/bitbake/lib/bb/taskdata.py
@@ -124,7 +124,6 @@ class TaskData:
124 Add tasks for a given fn to the database 124 Add tasks for a given fn to the database
125 """ 125 """
126 126
127 task_graph = dataCache.task_queues[fn]
128 task_deps = dataCache.task_deps[fn] 127 task_deps = dataCache.task_deps[fn]
129 128
130 fnid = self.getfn_id(fn) 129 fnid = self.getfn_id(fn)
@@ -136,11 +135,11 @@ class TaskData:
136 if fnid in self.tasks_fnid: 135 if fnid in self.tasks_fnid:
137 return 136 return
138 137
139 for task in task_graph.allnodes(): 138 for task in task_deps['tasks']:
140 139
141 # Work out task dependencies 140 # Work out task dependencies
142 parentids = [] 141 parentids = []
143 for dep in task_graph.getparents(task): 142 for dep in task_deps['parents'][task]:
144 parentid = self.gettask_id(fn, dep) 143 parentid = self.gettask_id(fn, dep)
145 parentids.append(parentid) 144 parentids.append(parentid)
146 taskid = self.gettask_id(fn, task) 145 taskid = self.gettask_id(fn, task)