Python 2.5 bugfix
authorKenneth Reitz <me@kennethreitz.com>
Sun, 24 Jul 2011 02:49:01 +0000 (22:49 -0400)
committerKenneth Reitz <me@kennethreitz.com>
Sun, 24 Jul 2011 02:49:01 +0000 (22:49 -0400)
requests/monkeys.py

index 909626c..c838071 100644 (file)
@@ -42,6 +42,7 @@ class HTTPBasicAuthHandler(urllib2.HTTPBasicAuthHandler):
     def __init__(self, *args, **kwargs):
         urllib2.HTTPBasicAuthHandler.__init__(self, *args, **kwargs)
         self.retried_req = None
+        self.retried = 0
 
 
     def reset_retry_count(self):