summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/toaster/orm/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/orm/models.py b/bitbake/lib/toaster/orm/models.py
index f5529e2541..9851c92b71 100644
--- a/bitbake/lib/toaster/orm/models.py
+++ b/bitbake/lib/toaster/orm/models.py
@@ -222,7 +222,7 @@ class Project(models.Model):
222 if pk is False: 222 if pk is False:
223 return layer_versions 223 return layer_versions
224 else: 224 else:
225 return layer_versions.values_list('pk', flat=True) 225 return layer_versions.values_list('layercommit__pk', flat=True)
226 226
227 227
228 def get_available_machines(self): 228 def get_available_machines(self):