diff options
author | Elliot Smith <elliot.smith@intel.com> | 2016-04-19 17:28:42 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-04-19 21:11:25 +0100 |
commit | 437b728a9f138f5109227b027474a3c26fc7f81f (patch) | |
tree | 4a6f73c977c1ed0b10f1b1144846d12b77286fbc /bitbake/toaster-requirements.txt | |
parent | cfc22d3a9e2434fb5b9001850c19617dda6d57aa (diff) | |
download | poky-437b728a9f138f5109227b027474a3c26fc7f81f.tar.gz |
bitbake: toaster: prevent exception when Project.release is null
Project.release can be null. This causes an exception when calling
get_all_compatible_layer_versions(), as the query to fetch
the layer versions references release.branch_name.
Add a guard to the function so that an empty queryset is returned
if the release isn't set for a project.
(Bitbake rev: 6919a2b2e412a9e7b652a6bc191e7c1bed035222)
Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/toaster-requirements.txt')
0 files changed, 0 insertions, 0 deletions