Merge lp:~jml/pkgme-devportal/better-error-when-no-objects into lp:pkgme-devportal
Proposed by
Jonathan Lange
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | James Westby | ||||
Approved revision: | 18 | ||||
Merged at revision: | 17 | ||||
Proposed branch: | lp:~jml/pkgme-devportal/better-error-when-no-objects | ||||
Merge into: | lp:pkgme-devportal | ||||
Diff against target: |
78 lines (+19/-3) 3 files modified
devportalbinary/binary.py (+10/-3) devportalbinary/tests/test_binary.py (+8/-0) setup.py (+1/-0) |
||||
To merge this branch: | bzr merge lp:~jml/pkgme-devportal/better-error-when-no-objects | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
James Westby | Approve | ||
Review via email: mp+83148@code.launchpad.net |
Description of the change
Hello,
This branch fixes bug 890520. It also correctly specifies all of the dependencies for pkgme-binary, since I had to develop this in a no-site-packages virtualenv in order to avoid bugs like bug 893970 and bug 893520.
There's not much to see here. I added a new exception type, made sure that it inherited from PkgmeError to avoid nasty stack traces and raise it when there are no binaries found.
Thanks,
jml
To post a comment you must log in.