Wow, and AUTO_AUTH works. first try!
authorKenneth Reitz <me@kennethreitz.com>
Mon, 14 Feb 2011 03:53:14 +0000 (22:53 -0500)
committerKenneth Reitz <me@kennethreitz.com>
Mon, 14 Feb 2011 03:53:14 +0000 (22:53 -0500)
requests/core.py

index 0fa5fd1decd9d5629af5c888910cf185b1dde012..89cc00911e4b9a9f2c8913c0b5ecff8e12fcf6fc 100644 (file)
@@ -308,7 +308,7 @@ def _detect_auth(url, auth):
 
        
 def _get_autoauth(url):
-       for (authauth_url, auth) in AUTOAUTHS:
+       for (autoauth_url, auth) in AUTOAUTHS:
                if autoauth_url in url: 
                        return auth