Fix the list of public repos to respect the limit set by the API request.

This commit is contained in:
yackob03 2013-12-18 19:16:58 -05:00
parent ec01b47608
commit d527746cfe

View file

@ -544,7 +544,7 @@ def get_visible_repositories(username=None, include_public=True, limit=None,
where_clause = new_clause
if limit:
query.limit(limit)
query = query.limit(limit)
return query.where(where_clause)