diff options
| author | Ross Burton <ross@burtonini.com> | 2021-01-21 10:50:10 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-01-23 17:09:26 +0000 |
| commit | 5d81a9186185fdac6af98f088b8be39c42aeeac9 (patch) | |
| tree | 1f9db3a2b8efc8dcb49d1b8292536da44e49b489 /scripts/lib/checklayer/context.py | |
| parent | 5920b3f129f5fb4bc8e98f98999f1d1247c00ce9 (diff) | |
| download | poky-5d81a9186185fdac6af98f088b8be39c42aeeac9.tar.gz | |
bitbake: fetch2: handle empty elements in _param_str_split
_param_str_split is used to split ?foo=1;bar=2 into a dictionary, but throws
an exception if a lone semicolon is used as the value doesn't split into two
items.
Fix by checking that the result of the first split has content.
(Bitbake rev: 7662f8c8676d87cb318f811423cc02fe8cb146f6)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/checklayer/context.py')
0 files changed, 0 insertions, 0 deletions
