From cd51ea63e63778a635cf30cee981dcaae1e0f5ac Mon Sep 17 00:00:00 2001 From: Joshua Lock Date: Fri, 26 Aug 2011 15:13:33 -0700 Subject: ui/crumbs/tasklistmodel: don't add same item to binb column more than once (Bitbake rev: 5e95098be1c1f92c2d72fb371c94bab31c46cf83) Signed-off-by: Joshua Lock Signed-off-by: Richard Purdie --- bitbake/lib/bb/ui/crumbs/tasklistmodel.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'bitbake') 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): 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 -- cgit v1.2.3-54-g00ecf