Merge lp:~mwhudson/launchpad/read-only-xmlrpc-bug-403281 into lp:launchpad
Proposed by
Michael Hudson-Doyle
on 2010-03-04
| Status: | Merged |
|---|---|
| Approved by: | Francis J. Lacoste on 2010-03-04 |
| 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 | 2010-03-04 | Approve on 2010-03-04 |
|
Review via email:
|
|||
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.
| Francis J. Lacoste (flacoste) wrote : | # |
Can you land this on db-devel as release-critical now. That will save us some OOPSes during next roll-out :-)
review:
Approve
(release-critical)

Add comments to the tests and this is good to go!