diff options
author | Michael Wood <michael.g.wood@intel.com> | 2015-10-09 10:32:40 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-10-11 08:10:30 +0100 |
commit | b20f3626148e89af0e9fcfca911a5a1e4e355a41 (patch) | |
tree | 16f6b0fb6ef6fa75e55663de868a2d05e89a3b7c | |
parent | cc63f10f69105205e65b5f9647232b2b4b23ad48 (diff) | |
download | bitbake-b20f3626148e89af0e9fcfca911a5a1e4e355a41.tar.gz |
toaster: Fix typo in returning pk list of layer versions in current project
This was accidentally returning the primary key of the ProjectLayer
rather than the ProjectLayer.Layer_Version.pk
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | lib/toaster/orm/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/toaster/orm/models.py b/lib/toaster/orm/models.py index f5529e254..9851c92b7 100644 --- a/lib/toaster/orm/models.py +++ b/lib/toaster/orm/models.py @@ -222,7 +222,7 @@ class Project(models.Model): if pk is False: return layer_versions else: - return layer_versions.values_list('pk', flat=True) + return layer_versions.values_list('layercommit__pk', flat=True) def get_available_machines(self): |