Merge lp:~submarine/ubuntu-scopes/github-25-limit into lp:~submarine/ubuntu-scopes/github
Proposed by
David Callé
Status: | Merged |
---|---|
Approved by: | James Henstridge |
Approved revision: | 21 |
Merged at revision: | 20 |
Proposed branch: | lp:~submarine/ubuntu-scopes/github-25-limit |
Merge into: | lp:~submarine/ubuntu-scopes/github |
Diff against target: |
45 lines (+10/-7) 2 files modified
src/unity_github_daemon.py (+9/-7) tests/test_github.py (+1/-0) |
To merge this branch: | bzr merge lp:~submarine/ubuntu-scopes/github-25-limit |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot (community) | continuous-integration | Approve | |
James Henstridge | Approve | ||
Review via email: mp+155149@code.launchpad.net |
Commit message
Limit to 25 results for speed and ease of exploration.
Description of the change
Limit to 25 results for speed and ease of exploration.
To post a comment you must log in.
Won't this limit the number of results to 26? If there are 25 results, then "len(results) <= 25" is true and you'll append another result.
Also, would it be possible to update the tests to show that the results really are limited to 25?