mirror of
https://git.yoctoproject.org/poky
synced 2026-04-26 00:32:12 +02: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:
committed by
Richard Purdie
parent
d6d680d2e5
commit
2bebcd4995
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user