diff options
Diffstat (limited to 'repo')
-rwxr-xr-x | repo | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -507,7 +507,7 @@ def _InitHttp(): | |||
507 | p = n.hosts[host] | 507 | p = n.hosts[host] |
508 | mgr.add_password(p[1], 'http://%s/' % host, p[0], p[2]) | 508 | mgr.add_password(p[1], 'http://%s/' % host, p[0], p[2]) |
509 | mgr.add_password(p[1], 'https://%s/' % host, p[0], p[2]) | 509 | mgr.add_password(p[1], 'https://%s/' % host, p[0], p[2]) |
510 | except: # pylint: disable=bare-except | 510 | except: |
511 | pass | 511 | pass |
512 | handlers.append(urllib.request.HTTPBasicAuthHandler(mgr)) | 512 | handlers.append(urllib.request.HTTPBasicAuthHandler(mgr)) |
513 | handlers.append(urllib.request.HTTPDigestAuthHandler(mgr)) | 513 | handlers.append(urllib.request.HTTPDigestAuthHandler(mgr)) |