aboutsummaryrefslogtreecommitdiffstats
path: root/github3/api.py
diff options
context:
space:
mode:
authorDavid Medina <davidmedina9@gmail.com>2011-10-29 02:44:47 +0200
committerDavid Medina <davidmedina9@gmail.com>2011-10-29 02:44:47 +0200
commit87fa92f047cbbf1cc361ccd848a2dbc114227774 (patch)
tree66e14640b38d3a3d3ebf2243692d1f64db971537 /github3/api.py
parentWip on gists (diff)
downloadpython-github3-87fa92f047cbbf1cc361ccd848a2dbc114227774.tar.xz
python-github3-87fa92f047cbbf1cc361ccd848a2dbc114227774.zip
Fix typo in rate_limit
Diffstat (limited to 'github3/api.py')
-rw-r--r--github3/api.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/github3/api.py b/github3/api.py
index d11aef6..81ae3e7 100644
--- a/github3/api.py
+++ b/github3/api.py
@@ -66,8 +66,8 @@ class GithubCore(object):
def _requests_post_hook(self, r):
"""Post-processing for HTTP response objects."""
- self._ratelimit = int(r.headers.get('x-ratelimit-limit', -1))
- self._ratelimit_remaining = int(r.headers.get('x-ratelimit-remaining', -1))
+ self._rate_limit = int(r.headers.get('x-ratelimit-limit', -1))
+ self._rate_limit_remaining = int(r.headers.get('x-ratelimit-remaining', -1))
return r