diff options
author | Joshua Lock <josh@linux.intel.com> | 2011-08-29 16:29:06 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-08-30 21:57:13 +0100 |
commit | e2a3f283304e46b05e4900607d0568aec9b41f22 (patch) | |
tree | 8ba4e840a0bd0cad8fcf095e4d21663cd5b3f878 /bitbake/lib | |
parent | 76b228c6024c62638382b5472b05cf5cc7a844ee (diff) | |
download | poky-e2a3f283304e46b05e4900607d0568aec9b41f22.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]
(Bitbake rev: 6ad1103b5fd592afa9ea03ef5a0d706604cc0e0f)
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/bb/ui/crumbs/tasklistmodel.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/tasklistmodel.py b/bitbake/lib/bb/ui/crumbs/tasklistmodel.py index cf9fc591de..edb4d96220 100644 --- a/bitbake/lib/bb/ui/crumbs/tasklistmodel.py +++ b/bitbake/lib/bb/ui/crumbs/tasklistmodel.py | |||
@@ -462,8 +462,9 @@ class TaskListModel(gtk.ListStore): | |||
462 | continue | 462 | continue |
463 | if dep_included: | 463 | if dep_included: |
464 | bin = self[path][self.COL_BINB].split(', ') | 464 | bin = self[path][self.COL_BINB].split(', ') |
465 | bin.append(name) | 465 | if not name in bin: |
466 | self[path][self.COL_BINB] = ', '.join(bin).lstrip(', ') | 466 | bin.append(name) |
467 | self[path][self.COL_BINB] = ', '.join(bin).lstrip(', ') | ||
467 | else: | 468 | else: |
468 | self.include_item(path, binb=name, image_contents=image_contents) | 469 | self.include_item(path, binb=name, image_contents=image_contents) |
469 | 470 | ||