1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-01 13:09:50 +00:00

bitbake: toasterui: fixes after html5 compliance testing

This patch brings fixes for issues highlighted by
HTML5 compliance testing.

(Bitbake rev: 7aecb974d44d9bc711ffba5cc65e770811397fba)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Alexandru DAMIAN
2015-06-24 14:53:21 +01:00
committed by Richard Purdie
parent 583e320764
commit f28116ec10
11 changed files with 33 additions and 17 deletions
+3 -1
View File
@@ -180,7 +180,9 @@ class Project(models.Model):
if release == None:
release = self.release
# layers on the same branch or layers specifically set for this project
queryset = Layer_Version.objects.filter((Q(up_branch__name = release.branch_name) & Q(project = None)) | Q(project = self) | Q(build__project = self))
queryset = Layer_Version.objects.filter(Q(project = self) | Q(build__project = self))
if release is not None:
queryset = queryset.filter(Q(up_branch__name = release.branch_name) & Q(project = None))
if layer_name is not None:
# we select only a layer name
queryset = queryset.filter(layer__name = layer_name)