Merge lp:~mwhudson/launchpad/read-only-xmlrpc-bug-403281 into lp:launchpad
Proposed by
Michael Hudson-Doyle
Status: | Merged |
---|---|
Approved by: | Francis J. Lacoste |
Approved revision: | no longer in the source branch. |
Merged at revision: | not available |
Proposed branch: | lp:~mwhudson/launchpad/read-only-xmlrpc-bug-403281 |
Merge into: | lp:launchpad |
Diff against target: |
98 lines (+37/-6) 2 files modified
lib/canonical/launchpad/webapp/publication.py (+3/-5) lib/canonical/launchpad/webapp/tests/test_publication.py (+34/-1) |
To merge this branch: | bzr merge lp:~mwhudson/launchpad/read-only-xmlrpc-bug-403281 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Francis J. Lacoste (community) | release-critical | Approve | |
Review via email: mp+20707@code.launchpad.net |
Commit message
Don't add read-only warnings to requests that don't support notifications
Description of the change
Hi there.
This branch fixes bug 403281 which causes loads of oopses during rollouts.
As discussed, I check for failure to adapt by passing a default argument to the attempt to adapt and do nothing if adaption fails. I also remove a try:/except: block that *may* have been a botched attempt to do the same thing.
Cheers,
mwh
To post a comment you must log in.
Add comments to the tests and this is good to go!