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:11:29 +0100 |
commit | 2bebcd4995aff8c691779688d3253b9e88dc9a3a (patch) | |
tree | 49da4b90f30c8c7143e2163f502a7d320bdcfeea /bitbake | |
parent | d6d680d2e525d07e4feb68522edbe761e4772165 (diff) | |
download | poky-2bebcd4995aff8c691779688d3253b9e88dc9a3a.tar.gz |
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>
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/toaster/orm/models.py | 2 |
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): |