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

bb/crumbs/tasklistmodel: filter nativesdk packages out of views

(Bitbake rev: 0c62bbc5fb149c8baccffebd5f17e25d3e7dbf69)

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-12 15:01:11 -07:00
committed by Richard Purdie
parent 7ee93b206a
commit 2bd2717198
+1 -1
View File
@@ -132,7 +132,7 @@ class TaskListModel(gtk.ListStore):
if not model.get_value(it, self.COL_INC) or model.get_value(it, self.COL_TYPE) == 'image':
return False
name = model.get_value(it, self.COL_NAME)
if name.endswith('-native') or name.endswith('-cross'):
if name.count('-native') or name.count('-cross'):
return False
else:
return True