From bd837ac6731d91ae815d20b161c9a9eed10675d0 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Sun, 6 Jan 2008 23:06:42 +0000 Subject: cooker.py: Fix -g option breakage from previous commits git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3415 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- bitbake/lib/bb/cooker.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'bitbake/lib/bb') diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index c6597c52f..2c091b652 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py @@ -258,9 +258,8 @@ class BBCooker: tdepends_file = file('task-depends.dot', 'w' ) print >> depends_file, "digraph depends {" print >> tdepends_file, "digraph depends {" - rq.prio_map.reverse() - for task1 in range(len(rq.runq_fnid)): - task = rq.prio_map[task1] + + for task in range(len(rq.runq_fnid)): taskname = rq.runq_task[task] fnid = rq.runq_fnid[task] fn = taskdata.fn_index[fnid] -- cgit v1.2.3