Merge lp://staging/~jml/pkgme/index-error into lp://staging/pkgme

Proposed by Jonathan Lange
Status: Merged
Approved by: James Westby
Approved revision: 148
Merged at revision: 143
Proposed branch: lp://staging/~jml/pkgme/index-error
Merge into: lp://staging/pkgme
Diff against target: 133 lines (+69/-4)
3 files modified
NEWS.txt (+3/-0)
pkgme/backend.py (+10/-4)
pkgme/tests/test_backend.py (+56/-0)
To merge this branch: bzr merge lp://staging/~jml/pkgme/index-error
Reviewer Review Type Date Requested Status
James Westby Approve
Review via email: mp+123843@code.staging.launchpad.net

Commit message

Properly handle no eligible backends.

Description of the change

Fixes a bug where we get IndexErrors when there's no eligible backend.

There are now some tests. Yay.

To post a comment you must log in.
Revision history for this message
James Westby (james-w) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches