aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bb/runqueue.py
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2006-08-20 22:26:42 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2006-08-20 22:26:42 +0000
commit0b9bfc970e5d1dad5f917b98db23ae272ac5e823 (patch)
tree3db940d4cb5299b408ce8386ad7ea0d9c32408cd /lib/bb/runqueue.py
parenta6e26ec83270de1ae9993c054be25e4ccbde1a8e (diff)
downloadbitbake-0b9bfc970e5d1dad5f917b98db23ae272ac5e823.tar.gz
runqueue.py: Fix and disable some debug
Diffstat (limited to 'lib/bb/runqueue.py')
-rw-r--r--lib/bb/runqueue.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/bb/runqueue.py b/lib/bb/runqueue.py
index e874b343d..e2ff2776b 100644
--- a/lib/bb/runqueue.py
+++ b/lib/bb/runqueue.py
@@ -210,7 +210,7 @@ class RunQueue:
endpoints.append(listid)
for dep in revdeps:
if dep in self.runq_depends[listid]:
- self.dump_data(taskData)
+ #self.dump_data(taskData)
bb.fatal("Task %s has circular dependency on %s" % (dep, listid))
runq_weight1[listid] = len(revdeps)
@@ -414,8 +414,9 @@ class RunQueue:
bb.msg.debug(3, bb.msg.domain.RunQueue, "sorted_tasks:")
for task1 in range(len(self.runq_fnid)):
- task = self.prio_map[task1]
- bb.msg.debug(3, bb.msg.domain.RunQueue, " (%s)%s - %s: %s Deps %s RevDeps %s" % (task,
+ if task1 in self.prio_map:
+ task = self.prio_map[task1]
+ bb.msg.debug(3, bb.msg.domain.RunQueue, " (%s)%s - %s: %s Deps %s RevDeps %s" % (task,
taskQueue.fn_index[self.runq_fnid[task]],
self.runq_task[task],
self.runq_weight[task],