diff options
author | Charlie Davies <charles.davies@whitetree.xyz> | 2021-02-18 20:52:13 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-02-21 22:01:56 +0000 |
commit | d47f4553893d0468827cc675a5b4334c9a0fdd29 (patch) | |
tree | 3039408a1eb2bcbc14eed987ad2a05cf26353110 /bitbake/doc/releases.rst | |
parent | a927a0d0b7f2da3d730317c1dab6fffc6df41760 (diff) | |
download | poky-d47f4553893d0468827cc675a5b4334c9a0fdd29.tar.gz |
bitbake: bitbake: providers: fix incorrect return type bug
If no eligible providers are found then an integer zero is returned.
This causes the following error, in two possible places in taskdata.py,
when the return value is used in a list comprehension:
[snip]
eligible = [p for p in eligible if not p in self.failed_fns]
TypeError: 'int' object is not iterable
[\snip]
Fix by returning the variable eligible itself, of type list.
(Bitbake rev: 217c4b436b588a6a47aeaddf61531711ad3fca67)
Signed-off-by: Charlie Davies <charles.davies@whitetree.xyz>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/doc/releases.rst')
0 files changed, 0 insertions, 0 deletions