just showing off, don't merge this!

This commit is contained in:
Jonas Obrist 2012-08-19 01:20:08 +02:00
parent f7938a9dc1
commit 8b988be06e
8 changed files with 7203 additions and 1 deletions

View file

@ -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