summaryrefslogtreecommitdiff
path: root/bitbake/lib/bb/cooker.py
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-01-06 23:06:42 +0000
committerRichard Purdie <richard@openedhand.com>2008-01-06 23:06:42 +0000
commitbd837ac6731d91ae815d20b161c9a9eed10675d0 (patch)
treed965fb08d57f6d9d31127fbc55ffc07d3d007128 /bitbake/lib/bb/cooker.py
parent611ba5d66a11ded11b6b263cda7affd2f5e2162f (diff)
downloadopenembedded-core-bd837ac6731d91ae815d20b161c9a9eed10675d0.tar.gz
openembedded-core-bd837ac6731d91ae815d20b161c9a9eed10675d0.tar.bz2
openembedded-core-bd837ac6731d91ae815d20b161c9a9eed10675d0.zip
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
Diffstat (limited to 'bitbake/lib/bb/cooker.py')
-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:
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]