aboutsummaryrefslogtreecommitdiffstats
path: root/bitbake/lib
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/lib
parentdd957fe0f261db6481882fee0413f459425000c2 (diff)
downloadopenembedded-core-contrib-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/lib')
-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):
""" 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