summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/bb/fetch2/wget.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/wget.py b/bitbake/lib/bb/fetch2/wget.py
index 88349c9bf9..737b98dd03 100644
--- a/bitbake/lib/bb/fetch2/wget.py
+++ b/bitbake/lib/bb/fetch2/wget.py
@@ -320,7 +320,7 @@ class Wget(FetchMethod):
320 n = netrc.netrc() 320 n = netrc.netrc()
321 login, unused, password = n.authenticators(urllib.parse.urlparse(uri).hostname) 321 login, unused, password = n.authenticators(urllib.parse.urlparse(uri).hostname)
322 add_basic_auth("%s:%s" % (login, password), r) 322 add_basic_auth("%s:%s" % (login, password), r)
323 except (ImportError, IOError, netrc.NetrcParseError): 323 except (TypeError, ImportError, IOError, netrc.NetrcParseError):
324 pass 324 pass
325 325
326 opener.open(r) 326 opener.open(r)