Fix the list of public repos to respect the limit set by the API request.
This commit is contained in:
parent
ec01b47608
commit
d527746cfe
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Reference in a new issue