From 1c30381714449891d974e8fbb6a9900ce3d5d97a Mon Sep 17 00:00:00 2001 From: Joshua Lock Date: Fri, 12 Aug 2011 17:00:16 -0700 Subject: bb/ui/crumbs/tasklistmodel: simplify conditional in include_item No need to check if the name ends with -native or -cross as path will be None in this instance. (Bitbake rev: bca739cdf55ba2a1c5e372e512d4f088345f245f) Signed-off-by: Joshua Lock Signed-off-by: Richard Purdie --- bitbake/lib/bb/ui/crumbs/tasklistmodel.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'bitbake') diff --git a/bitbake/lib/bb/ui/crumbs/tasklistmodel.py b/bitbake/lib/bb/ui/crumbs/tasklistmodel.py index 4da3e1eb40..203b6284ac 100644 --- a/bitbake/lib/bb/ui/crumbs/tasklistmodel.py +++ b/bitbake/lib/bb/ui/crumbs/tasklistmodel.py @@ -457,11 +457,8 @@ class TaskListModel(gtk.ListStore): # resultant image, so filter cross and native recipes dep_included = self.contents_includes_name(dep) path = self.find_path_for_item(dep) - if not dep_included and not dep.endswith("-native") and not dep.endswith("-cross"): - if path: - self.include_item(path, name, image_contents) - else: - pass + if not dep_included and path: + self.include_item(path, name, image_contents) # Set brought in by for any no longer orphan packages elif dep_included and path: if not self[path][self.COL_BINB]: -- cgit v1.2.3-54-g00ecf