mirror of
https://git.yoctoproject.org/poky
synced 2026-09-19 09:49:33 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
76b228c602
commit
e2a3f28330
@@ -462,8 +462,9 @@ class TaskListModel(gtk.ListStore):
|
|||||||
continue
|
continue
|
||||||
if dep_included:
|
if dep_included:
|
||||||
bin = self[path][self.COL_BINB].split(', ')
|
bin = self[path][self.COL_BINB].split(', ')
|
||||||
bin.append(name)
|
if not name in bin:
|
||||||
self[path][self.COL_BINB] = ', '.join(bin).lstrip(', ')
|
bin.append(name)
|
||||||
|
self[path][self.COL_BINB] = ', '.join(bin).lstrip(', ')
|
||||||
else:
|
else:
|
||||||
self.include_item(path, binb=name, image_contents=image_contents)
|
self.include_item(path, binb=name, image_contents=image_contents)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user