From c7d1dab1c422f33c32db9c9538a11fd6de322e7f Mon Sep 17 00:00:00 2001 From: Michael Wood Date: Tue, 6 Oct 2015 20:21:25 -0700 Subject: 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 Signed-off-by: brian avery Signed-off-by: Richard Purdie --- bitbake/lib/toaster/orm/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bitbake') diff --git a/bitbake/lib/toaster/orm/models.py b/bitbake/lib/toaster/orm/models.py index 5aed158c12..f5529e2541 100644 --- a/bitbake/lib/toaster/orm/models.py +++ b/bitbake/lib/toaster/orm/models.py @@ -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 -- cgit v1.2.3-54-g00ecf