aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2011-08-29 16:29:06 -0700
committerJoshua Lock <josh@linux.intel.com>2011-08-29 17:03:14 -0700
commit6ad1103b5fd592afa9ea03ef5a0d706604cc0e0f (patch)
tree50c5550fff113320f6945f00a3f12fff3cfb4437 /lib
parent6555a77c199f41bf35460138764e03e30c56d29f (diff)
downloadbitbake-6ad1103b5fd592afa9ea03ef5a0d706604cc0e0f.tar.gz
ui/crumbs/tasklistmodel: don't add same item to binb column more than once
In the same vein as a similar, earlier, patch where I missed the second loop which modifies the binb column. Fixes [YOCTO #1420] Signed-off-by: Joshua Lock <josh@linux.intel.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/bb/ui/crumbs/tasklistmodel.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/bb/ui/crumbs/tasklistmodel.py b/lib/bb/ui/crumbs/tasklistmodel.py
index cf9fc591d..edb4d9622 100644
--- a/lib/bb/ui/crumbs/tasklistmodel.py
+++ b/lib/bb/ui/crumbs/tasklistmodel.py
@@ -462,8 +462,9 @@ class TaskListModel(gtk.ListStore):
continue
if dep_included:
bin = self[path][self.COL_BINB].split(', ')
- bin.append(name)
- self[path][self.COL_BINB] = ', '.join(bin).lstrip(', ')
+ if not name in bin:
+ bin.append(name)
+ self[path][self.COL_BINB] = ', '.join(bin).lstrip(', ')
else:
self.include_item(path, binb=name, image_contents=image_contents)