All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] toaster: fix orm machine typo
@ 2015-10-07  3:21 brian avery
  2015-10-07  3:21 ` [PATCH 1/1] toaster: orm Machines filter don't pass self in as parameter brian avery
  0 siblings, 1 reply; 2+ messages in thread
From: brian avery @ 2015-10-07  3:21 UTC (permalink / raw)
  To: bitbake-devel

this fixes a type that was preventing the machine typeahead
search from working.

-b

The following changes since commit b0833604e6b67c93abee7eb8a791c1ea298f4da9:

  toaster: Rationalise mimetype guessing to fix artifact downloads (2015-10-06 19:58:53 -0700)

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib bavery/submit/michaelw/2015-09-29_orm_machines
  http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=bavery/submit/michaelw/2015-09-29_orm_machines

Michael Wood (1):
  toaster: orm Machines filter don't pass self in as parameter

 lib/toaster/orm/models.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--
1.9.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH 1/1] toaster: orm Machines filter don't pass self in as parameter
  2015-10-07  3:21 [PATCH 0/1] toaster: fix orm machine typo brian avery
@ 2015-10-07  3:21 ` brian avery
  0 siblings, 0 replies; 2+ messages in thread
From: brian avery @ 2015-10-07  3:21 UTC (permalink / raw)
  To: bitbake-devel

From: Michael Wood <michael.g.wood@intel.com>

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.

Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: brian avery <avery.brian@gmail.com>
---
 lib/toaster/orm/models.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/toaster/orm/models.py b/lib/toaster/orm/models.py
index 670ec78..375985e 100644
--- a/lib/toaster/orm/models.py
+++ b/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
 
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-10-07  3:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-07  3:21 [PATCH 0/1] toaster: fix orm machine typo brian avery
2015-10-07  3:21 ` [PATCH 1/1] toaster: orm Machines filter don't pass self in as parameter brian avery

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.