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>
This commit is contained in:
parent
744f58fbfd
commit
cd51ea63e6
|
@ -441,8 +441,9 @@ class TaskListModel(gtk.ListStore):
|
||||||
self[item_path][self.COL_INC] = True
|
self[item_path][self.COL_INC] = True
|
||||||
|
|
||||||
bin = self[item_path][self.COL_BINB].split(', ')
|
bin = self[item_path][self.COL_BINB].split(', ')
|
||||||
bin.append(binb)
|
if not binb in bin:
|
||||||
self[item_path][self.COL_BINB] = ', '.join(bin).lstrip(', ')
|
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
|
# We want to do some magic with things which are brought in by the
|
||||||
# base image so tag them as so
|
# base image so tag them as so
|
||||||
|
|
Loading…
Reference in New Issue