summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
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/lib
parent744f58fbfd669a7d551d1092d7c4463b01de8fc7 (diff)
downloadpoky-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/lib')
-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 5ff1f5a6bb..cf9fc591de 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):
441 self[item_path][self.COL_INC] = True 441 self[item_path][self.COL_INC] = True
442 442
443 bin = self[item_path][self.COL_BINB].split(', ') 443 bin = self[item_path][self.COL_BINB].split(', ')
444 bin.append(binb) 444 if not binb in bin:
445 self[item_path][self.COL_BINB] = ', '.join(bin).lstrip(', ') 445 bin.append(binb)
446 self[item_path][self.COL_BINB] = ', '.join(bin).lstrip(', ')
446 447
447 # We want to do some magic with things which are brought in by the 448 # We want to do some magic with things which are brought in by the
448 # base image so tag them as so 449 # base image so tag them as so