Skip to content

Commit

Permalink
Bug 627633, limiting colleciton modules to their actual limit
Browse files Browse the repository at this point in the history
  • Loading branch information
potch committed Jan 28, 2011
1 parent 6c54bc6 commit 4cc94d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/api/views.py
Expand Up @@ -134,7 +134,7 @@ def addon_filter(addons, addon_type, limit, app, platform, version,

if len(good) < limit:
good.extend(others[:limit - len(good)])
return good
return good[:limit]


class APIView(object):
Expand Down

0 comments on commit 4cc94d9

Please sign in to comment.