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:
03a3ca5
)
fix get_auth_from_url
author
Kenneth Reitz
<me@kennethreitz.com>
Fri, 22 Mar 2013 04:15:06 +0000
(
00:15
-0400)
committer
Kenneth Reitz
<me@kennethreitz.com>
Fri, 22 Mar 2013 04:15:06 +0000
(
00:15
-0400)
requests/utils.py
patch
|
blob
|
history
diff --git
a/requests/utils.py
b/requests/utils.py
index 08e22983cc61ce8503a13d80882dd7f21b4e4b94..a2d434effdb6d8fa291abeef27b3d7a43b91db0a 100644
(file)
--- a/
requests/utils.py
+++ b/
requests/utils.py
@@
-588,4
+588,4
@@
def get_auth_from_url(url):
parsed = urlparse(url)
return (parsed.username, parsed.password)
else:
- return
None
+ return
('', '')