diff options
author | Joshua Lock <josh@linux.intel.com> | 2011-08-09 17:19:33 -0700 |
---|---|---|
committer | Joshua Lock <josh@linux.intel.com> | 2011-08-10 18:10:48 -0700 |
commit | 93bae8f223cdeb7b7e31c309b5d785b97ae1c2ac (patch) | |
tree | a80cd29649cabfa5b2aa4902602f54df1e87e77f | |
parent | ba9f2fe496eec0a221b563ffc9bb76eca592192f (diff) | |
download | bitbake-93bae8f223cdeb7b7e31c309b5d785b97ae1c2ac.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.
Signed-off-by: Joshua Lock <josh@linux.intel.com>
-rw-r--r-- | 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 96814c217..aec80e24d 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: |