1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 17:19:20 +00:00

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>
This commit is contained in:
Joshua Lock
2011-08-09 17:19:33 -07:00
committed by Richard Purdie
parent 858c79c3e9
commit af8ef31667
+2 -1
View File
@@ -235,7 +235,8 @@ class TaskListModel(gtk.ListStore):
if pn:
depends.append(pn)
self.squish(depends)
# uniquify the list of depends
depends = self.squish(depends)
deps = " ".join(depends)
if name.count('task-') > 0: