diff options
author | Ross Burton <ross.burton@arm.com> | 2023-02-14 16:07:51 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-02-17 18:02:04 +0000 |
commit | 77f91746dc86656dd960d910698c51a0559d1837 (patch) | |
tree | 48e47ca280a746abc235de4cc88e6d891e7e38cf /bitbake/lib/bblayers/action.py | |
parent | d976eb3d5257174900eebedc9495052bb3936ce7 (diff) | |
download | poky-77f91746dc86656dd960d910698c51a0559d1837.tar.gz |
bitbake: fetch2/wget: clean up netrc usage
Assigning a return value which is potentially None to a tuple and
catching TypeError is pretty ugly. Rewrite the code to explicitly check
the value for clarity.
(Bitbake rev: f4ebb27616ac2df27c29a6052b1526a4c48db607)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bblayers/action.py')
0 files changed, 0 insertions, 0 deletions