1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 17:19:20 +00:00

bitbake: 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

(Bitbake rev: b20f3626148e89af0e9fcfca911a5a1e4e355a41)

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>
This commit is contained in:
Michael Wood
2015-10-09 10:32:40 +01:00
committed by Richard Purdie
parent d6d680d2e5
commit 2bebcd4995
+1 -1
View File
@@ -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):