summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2011-08-09 17:19:33 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-08-11 19:07:59 +0100
commitaf8ef316677c37ca937c43dee8a315a8afe27499 (patch)
tree0d8c904c3c49c826b02d64233fe72c1cf368b8ae
parent858c79c3e98019dd525c8a2cd6a99319b583a4f4 (diff)
downloadpoky-af8ef316677c37ca937c43dee8a315a8afe27499.tar.gz
bb/ui/crumbs/tasklistmodel: correctly uniquify dependency list
Fix thinko - the squish method returns a uniquified list, it doesn't modify the list in place. Therefore the call to squish() was useless as its return value was never assigned. (Bitbake rev: 93bae8f223cdeb7b7e31c309b5d785b97ae1c2ac) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--bitbake/lib/bb/ui/crumbs/tasklistmodel.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/tasklistmodel.py b/bitbake/lib/bb/ui/crumbs/tasklistmodel.py
index 96814c217d..aec80e24d8 100644
--- a/bitbake/lib/bb/ui/crumbs/tasklistmodel.py
+++ b/bitbake/lib/bb/ui/crumbs/tasklistmodel.py
@@ -235,7 +235,8 @@ class TaskListModel(gtk.ListStore):
235 if pn: 235 if pn:
236 depends.append(pn) 236 depends.append(pn)
237 237
238 self.squish(depends) 238 # uniquify the list of depends
239 depends = self.squish(depends)
239 deps = " ".join(depends) 240 deps = " ".join(depends)
240 241
241 if name.count('task-') > 0: 242 if name.count('task-') > 0: