commit | 7b947de1ee015ab4d981d34566becba8222931ec | [log] [tgz] |
---|---|---|
author | Shawn O. Pearce <sop@google.com> | Fri Sep 23 11:50:31 2011 -0700 |
committer | Shawn O. Pearce <sop@google.com> | Fri Sep 23 11:50:31 2011 -0700 |
tree | 891f01d5cac0a03042558a7893cdebec089ebe5e | |
parent | 6392c879454bd4fa0e770195ee8424e383d17df2 [diff] |
Ignore missing ~/.netrc Change-Id: Ifa6065d57a6cb11ad57ddd44bc88d9690fe234ab Signed-off-by: Shawn O. Pearce <sop@google.com>
diff --git a/main.py b/main.py index 858ed93..c5c71c3 100755 --- a/main.py +++ b/main.py
@@ -281,6 +281,8 @@ mgr.add_password(None, 'https://%s/' % host, p[0], p[2]) except netrc.NetrcParseError: pass + except IOError: + pass handlers.append(urllib2.HTTPBasicAuthHandler(mgr)) if 'http_proxy' in os.environ: