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:
074150f
)
Python 2.5 bugfix
author
Kenneth Reitz
<me@kennethreitz.com>
Sun, 24 Jul 2011 02:49:01 +0000
(22:49 -0400)
committer
Kenneth Reitz
<me@kennethreitz.com>
Sun, 24 Jul 2011 02:49:01 +0000
(22:49 -0400)
requests/monkeys.py
patch
|
blob
|
history
diff --git
a/requests/monkeys.py
b/requests/monkeys.py
index
909626c
..
c838071
100644
(file)
--- a/
requests/monkeys.py
+++ b/
requests/monkeys.py
@@
-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):