just showing off, don't merge this!
This commit is contained in:
parent
f7938a9dc1
commit
8b988be06e
8 changed files with 7203 additions and 1 deletions
|
|
@ -43,6 +43,8 @@ class GitHub(object):
|
|||
Returns an iterator over a resource, eg 'repos/divio/django-cms/watchers' that automatically handles
|
||||
pagination.
|
||||
"""
|
||||
if params is None:
|
||||
params = {}
|
||||
data, response = self._get(path, params)
|
||||
for thing in data:
|
||||
yield thing
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue