summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2011-08-26 15:13:33 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-08-29 13:57:51 +0100
commitcd51ea63e63778a635cf30cee981dcaae1e0f5ac (patch)
tree613a1f234b5249b38dc3cc8959545b0a9e73f4d9 /bitbake
parent744f58fbfd669a7d551d1092d7c4463b01de8fc7 (diff)
downloadast2050-yocto-poky-cd51ea63e63778a635cf30cee981dcaae1e0f5ac.zip
ast2050-yocto-poky-cd51ea63e63778a635cf30cee981dcaae1e0f5ac.tar.gz
ui/crumbs/tasklistmodel: don't add same item to binb column more than once
(Bitbake rev: 5e95098be1c1f92c2d72fb371c94bab31c46cf83) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/ui/crumbs/tasklistmodel.py5
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 5ff1f5a..cf9fc59 100644
--- a/bitbake/lib/bb/ui/crumbs/tasklistmodel.py
+++ b/bitbake/lib/bb/ui/crumbs/tasklistmodel.py
@@ -441,8 +441,9 @@ class TaskListModel(gtk.ListStore):
self[item_path][self.COL_INC] = True
bin = self[item_path][self.COL_BINB].split(', ')
- bin.append(binb)
- self[item_path][self.COL_BINB] = ', '.join(bin).lstrip(', ')
+ if not binb in bin:
+ bin.append(binb)
+ self[item_path][self.COL_BINB] = ', '.join(bin).lstrip(', ')
# We want to do some magic with things which are brought in by the
# base image so tag them as so
OpenPOWER on IntegriCloud