TypeError, not AttributeError on 3.3.

This commit is contained in:
Cory Benfield
2014-01-11 10:15:53 +00:00
parent ca187abd13
commit dddb41e349
+1 -1
View File
@@ -639,7 +639,7 @@ def get_auth_from_url(url):
try:
return (unquote(parsed.username), unquote(parsed.password))
except AttributeError:
except (AttributeError, TypeError):
pass
return ('', '')