Merge lp:~lifeless/launchpad/oops into lp:launchpad
Proposed by
Robert Collins
Status: | Merged | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Approved by: | Jeroen T. Vermeulen | ||||||||||||
Approved revision: | no longer in the source branch. | ||||||||||||
Merged at revision: | 11538 | ||||||||||||
Proposed branch: | lp:~lifeless/launchpad/oops | ||||||||||||
Merge into: | lp:launchpad | ||||||||||||
Diff against target: |
313 lines (+70/-71) 6 files modified
lib/canonical/launchpad/doc/timeout.txt (+3/-3) lib/canonical/launchpad/webapp/adapter.py (+55/-36) lib/canonical/launchpad/webapp/configure.zcml (+1/-1) lib/canonical/launchpad/webapp/ftests/test_adapter.txt (+2/-2) lib/canonical/launchpad/webapp/servers.py (+0/-21) lib/canonical/launchpad/webapp/tests/test_request_expire_render.txt (+9/-8) |
||||||||||||
To merge this branch: | bzr merge lp:~lifeless/launchpad/oops | ||||||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jeroen T. Vermeulen (community) | Approve | ||
Review via email: mp+35060@code.launchpad.net |
Commit message
Consolidate timeout calculation code to reduce duplication.
Description of the change
Consolidate timeout calculation code to reduce duplication and give us one place to change/refactor things.
To post a comment you must log in.
Looks good. Thanks for the drive-bys. Be sure to keep docstrings and function names non-confusing; a bit of laziness in documenting functions often pays off because you'll know exactly what the code needs to do in practice before you state its purpose.