[bitbake-devel] [PATCH 2/8] bb/ui/crumbs/tasklistmodel: correctly uniquify dependency list
Joshua Lock
josh at linux.intel.com
Thu Aug 11 22:57:25 UTC 2011
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.
Signed-off-by: Joshua Lock <josh at linux.intel.com>
---
lib/bb/ui/crumbs/tasklistmodel.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/lib/bb/ui/crumbs/tasklistmodel.py b/lib/bb/ui/crumbs/tasklistmodel.py
index 96814c2..aec80e2 100644
--- a/lib/bb/ui/crumbs/tasklistmodel.py
+++ b/lib/bb/ui/crumbs/tasklistmodel.py
@@ -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:
--
1.7.6
More information about the bitbake-devel
mailing list