diff options
author | Michael Wood <michael.g.wood@intel.com> | 2015-10-06 20:21:25 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-10-11 05:33:04 +0100 |
commit | c7d1dab1c422f33c32db9c9538a11fd6de322e7f (patch) | |
tree | 996745d71bce49e571d8ad136cb4840c9e41ee78 | |
parent | dd957fe0f261db6481882fee0413f459425000c2 (diff) | |
download | poky-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>
-rw-r--r-- | bitbake/lib/toaster/orm/models.py | 2 |
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 | ||