summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/bb/cooker.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index c6597c52f9..2c091b6522 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -258,9 +258,8 @@ class BBCooker:
258 tdepends_file = file('task-depends.dot', 'w' ) 258 tdepends_file = file('task-depends.dot', 'w' )
259 print >> depends_file, "digraph depends {" 259 print >> depends_file, "digraph depends {"
260 print >> tdepends_file, "digraph depends {" 260 print >> tdepends_file, "digraph depends {"
261 rq.prio_map.reverse() 261
262 for task1 in range(len(rq.runq_fnid)): 262 for task in range(len(rq.runq_fnid)):
263 task = rq.prio_map[task1]
264 taskname = rq.runq_task[task] 263 taskname = rq.runq_task[task]
265 fnid = rq.runq_fnid[task] 264 fnid = rq.runq_fnid[task]
266 fn = taskdata.fn_index[fnid] 265 fn = taskdata.fn_index[fnid]