projects
/
services
/
python-requests.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e831947
)
Fix app engine error for #498
author
Kenneth Reitz
<me@kennethreitz.com>
Sat, 31 Mar 2012 03:15:43 +0000
(23:15 -0400)
committer
Kenneth Reitz
<me@kennethreitz.com>
Sat, 31 Mar 2012 03:15:43 +0000
(23:15 -0400)
requests/utils.py
patch
|
blob
|
history
diff --git
a/requests/utils.py
b/requests/utils.py
index
4c94c66
..
b722d99
100644
(file)
--- a/
requests/utils.py
+++ b/
requests/utils.py
@@
-59,7
+59,7
@@
def get_netrc_auth(url):
# Return with login / password
login_i = (0 if _netrc[0] else 1)
return (_netrc[login_i], _netrc[2])
- except (NetrcParseError, IOError):
+ except (NetrcParseError, IOError
, AttributeError
):
# If there was a parsing error or a permissions issue reading the file,
# we'll just skip netrc auth
pass