summaryrefslogtreecommitdiffstats
path: root/lib/bb/build.py
diff options
context:
space:
mode:
authorMark Asselstine <mark.asselstine@windriver.com>2016-12-20 21:50:01 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-12-21 08:16:53 +0000
commitc0c0af40ebddaf9dc99353c580a65d4c04295613 (patch)
tree5b0eb673e4441b47a6c3b9fa8497032a049b92b1 /lib/bb/build.py
parent873e33d0479e977520106b65d149ff1799195bf6 (diff)
downloadbitbake-contrib-c0c0af40ebddaf9dc99353c580a65d4c04295613.tar.gz
fetch2/wget: fixup case with no useful netrc data
Commit 873e33d0479e977520106b65d149ff1799195bf6 [fetch2/wget: add Basic Auth from netrc to checkstatus()] causes "Fetcher failure for URL: 'https://www.example.com/'. URL https://www.example.com/ doesn't work." on new builds when a user has a .netrc file but there is no default and no matching host. The call to netrc.authenticators() will return None in these cases and the attempted assignment to the 3-tuple will raise a TypeError exception. Add the TypeError to the exceptions caught to get around this issue. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/build.py')
0 files changed, 0 insertions, 0 deletions