bitbake: toaster: orm Machines filter don't pass self in as parameter

Fix typo don't pass self in as a parameter, this evaluated to true
giving the wrong results meaning the machines typeahead did not return
valid results.

(Bitbake rev: 55ba889ef8900c95447861fa3985ca9cfe06afdf)

Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: brian avery <avery.brian@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Michael Wood 2015-10-06 20:21:25 -07:00 committed by Richard Purdie
parent dd957fe0f2
commit c7d1dab1c4
1 changed files with 1 additions and 1 deletions

View File

@ -229,7 +229,7 @@ class Project(models.Model):
""" Returns QuerySet of all Machines which are provided by the
Layers currently added to the Project """
queryset = Machine.objects.filter(
layer_version__in=self.get_project_layer_versions(self))
layer_version__in=self.get_project_layer_versions())
return queryset