aboutsummaryrefslogtreecommitdiffstats
path: root/github3/handlers/base.py
diff options
context:
space:
mode:
Diffstat (limited to 'github3/handlers/base.py')
-rw-r--r--github3/handlers/base.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/github3/handlers/base.py b/github3/handlers/base.py
index 50e2df8..d0af418 100644
--- a/github3/handlers/base.py
+++ b/github3/handlers/base.py
@@ -53,9 +53,8 @@ class Handler(object):
""" Hander request to multiple resources """
resource = self._prefix_resource(resource)
- page_resources = Paginate(resource, self._gh.get, **kwargs)
counter = 1
- for page in page_resources:
+ for page in Paginate(resource, self._gh.get, **kwargs):
for raw_resource in page:
if limit and counter > limit: break
counter += 1