diff options
Diffstat (limited to 'main.py')
-rwxr-xr-x | main.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -281,6 +281,8 @@ def init_http(): | |||
281 | mgr.add_password(None, 'https://%s/' % host, p[0], p[2]) | 281 | mgr.add_password(None, 'https://%s/' % host, p[0], p[2]) |
282 | except netrc.NetrcParseError: | 282 | except netrc.NetrcParseError: |
283 | pass | 283 | pass |
284 | except IOError: | ||
285 | pass | ||
284 | handlers.append(urllib2.HTTPBasicAuthHandler(mgr)) | 286 | handlers.append(urllib2.HTTPBasicAuthHandler(mgr)) |
285 | 287 | ||
286 | if 'http_proxy' in os.environ: | 288 | if 'http_proxy' in os.environ: |