Merge lp:~stevenk/launchpad/queue-no-changes into lp:launchpad
Proposed by
Steve Kowalik
Status: | Merged |
---|---|
Approved by: | Steve Kowalik |
Approved revision: | no longer in the source branch. |
Merged at revision: | 13455 |
Proposed branch: | lp:~stevenk/launchpad/queue-no-changes |
Merge into: | lp:launchpad |
Diff against target: |
72 lines (+24/-1) 4 files modified
lib/lp/soyuz/adapters/notification.py (+2/-0) lib/lp/soyuz/adapters/tests/test_notification.py (+9/-0) lib/lp/soyuz/model/queue.py (+6/-1) lib/lp/soyuz/tests/test_packageupload.py (+7/-0) |
To merge this branch: | bzr merge lp:~stevenk/launchpad/queue-no-changes |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Julian Edwards (community) | Approve | ||
Review via email: mp+67913@code.launchpad.net |
Commit message
[r=julian-edwards][bug=810355] Support rejecting PackageUploads that have no changes file associated with them.
Description of the change
Support rejecting PackageUploads that have no changes file associated with them.
To post a comment you must log in.
Thanks for making this fix Steve. Just a couple of small suggestions:
8 + if not changesfile_object:
This violates our coding style, using "is not None" if you mean that.
22 + if self.changesfile:
Same thing here.
Also you need an extra unit test for the notify() change.