Merge lp:~lifeless/launchpad/decoratedresultset into lp:launchpad
Proposed by
Robert Collins
on 2010-09-15
| Status: | Merged |
|---|---|
| Approved by: | Robert Collins on 2010-09-15 |
| Approved revision: | no longer in the source branch. |
| Merged at revision: | 11555 |
| Proposed branch: | lp:~lifeless/launchpad/decoratedresultset |
| Merge into: | lp:launchpad |
| Diff against target: |
207 lines (+92/-34) 2 files modified
lib/canonical/launchpad/components/decoratedresultset.py (+34/-8) lib/canonical/launchpad/doc/decoratedresultset.txt (+58/-26) |
| To merge this branch: | bzr merge lp:~lifeless/launchpad/decoratedresultset |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Jonathan Lange (community) | 2010-09-15 | Approve on 2010-09-15 | |
|
Review via email:
|
|||
Commit Message
Make it possible to get slice data out of a DecoratedResultSet.
Description of the Change
Make it possible to get slice data out of a DecoratedResultSet. This is useful for 'Bug.indexed_
To post a comment you must log in.
review:
Approve

* Indent "slice_info=False" to after the paren above it so that "slice_info" aligns with "self". decoratora" , it should say "result_decorator"
* The docstring refers to "result_
* Having a boolean called "slice_info" and an actual slice object called "slice_info" is a bit confusing. If you can think of a better name for either, please change it.
Other than that, looks good. Tweak.