summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2011-08-12 17:00:16 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-08-15 09:47:09 +0100
commit1c30381714449891d974e8fbb6a9900ce3d5d97a (patch)
tree5f7fc8aa056423b2cff462837b86f816849f616c /bitbake
parentcf1cd31c5cb8968cfbfc43467ffea818d9b4fbab (diff)
downloadast2050-yocto-poky-1c30381714449891d974e8fbb6a9900ce3d5d97a.zip
ast2050-yocto-poky-1c30381714449891d974e8fbb6a9900ce3d5d97a.tar.gz
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 <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/ui/crumbs/tasklistmodel.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/tasklistmodel.py b/bitbake/lib/bb/ui/crumbs/tasklistmodel.py
index 4da3e1e..203b628 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]:
OpenPOWER on IntegriCloud