summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorMichael Wood <michael.g.wood@intel.com>2015-10-06 20:21:25 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-10-11 05:33:04 +0100
commitc7d1dab1c422f33c32db9c9538a11fd6de322e7f (patch)
tree996745d71bce49e571d8ad136cb4840c9e41ee78 /bitbake
parentdd957fe0f261db6481882fee0413f459425000c2 (diff)
downloadpoky-c7d1dab1c422f33c32db9c9538a11fd6de322e7f.tar.gz
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>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/toaster/orm/models.py2
1 files changed, 1 insertions, 1 deletions
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):
229 """ Returns QuerySet of all Machines which are provided by the 229 """ Returns QuerySet of all Machines which are provided by the
230 Layers currently added to the Project """ 230 Layers currently added to the Project """
231 queryset = Machine.objects.filter( 231 queryset = Machine.objects.filter(
232 layer_version__in=self.get_project_layer_versions(self)) 232 layer_version__in=self.get_project_layer_versions())
233 233
234 return queryset 234 return queryset
235 235