Merge lp:~adeuring/launchpad/bug-728129 into lp:launchpad
| Status: | Merged |
|---|---|
| Approved by: | j.c.sackett on 2012-07-05 |
| Approved revision: | no longer in the source branch. |
| Merged at revision: | 15566 |
| Proposed branch: | lp:~adeuring/launchpad/bug-728129 |
| Merge into: | lp:launchpad |
| Diff against target: |
158 lines (+58/-1) 3 files modified
lib/lp/services/database/decoratedresultset.py (+8/-0) lib/lp/services/database/tests/decoratedresultset.txt (+18/-1) lib/lp/services/database/tests/test_decoratedresultset.py (+32/-0) |
| To merge this branch: | bzr merge lp:~adeuring/launchpad/bug-728129 |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| j.c.sackett (community) | 2012-07-05 | Approve on 2012-07-05 | |
|
Review via email:
|
|||
Commit Message
call pre_iter_hook() in DecoratedResult
Description of the Change
Ivo is currewntly unavailable, so I'm submitting again his MP https:/
Copy of Ivo's cover letter:
I added the pre_iter_hook to the methods (first(), last(), any(), one()) as well as adding a new test file to make the original test work properly. Finally I adjusted the original test to fit the new conditions and added a test for the case that a method returns None.
Pre-imp call with adeuring
test:
./bin/test services -vvt decoratedresultset
= Launchpad lint =
Checking for conflicts and issues in changed files.
Linting changed files:
lib/lp/
lib/lp/
lib/lp/
./lib/lp/
1: narrative uses a moin header.
36: narrative uses a moin header.
60: narrative uses a moin header.
78: narrative uses a moin header.
86: narrative uses a moin header.
96: narrative uses a moin header.
113: narrative uses a moin header.
122: narrative uses a moin header.
137: narrative uses a moin header.
149: narrative uses a moin header.
156: narrative uses a moin header.
173: narrative uses a moin header.
Since it is nearly end of the work day i didn't have time to fix these errors

Thanks for the resubmit with fixes.