aboutsummaryrefslogtreecommitdiffstats
path: root/github3/api.py
diff options
context:
space:
mode:
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