1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 17:19:20 +00:00

ui/crumbs/tasklistmodel: don't add empty entries to COL_BINB

(Bitbake rev: 85c5b8b3b9c805883537900a46eddb2301ee93f9)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Joshua Lock
2011-08-30 10:55:14 -07:00
committed by Richard Purdie
parent ea33ddc6a4
commit e853d0a378
+1 -1
View File
@@ -432,7 +432,7 @@ class TaskListModel(gtk.ListStore):
self[item_path][self.COL_INC] = True
item_bin = self[item_path][self.COL_BINB].split(', ')
if not binb in item_bin:
if binb and not binb in item_bin:
item_bin.append(binb)
self[item_path][self.COL_BINB] = ', '.join(item_bin).lstrip(', ')