Merge lp://staging/~cjwatson/lazr.restful/py3-no-cmp into lp://staging/lazr.restful

Proposed by Colin Watson
Status: Merged
Merged at revision: 236
Proposed branch: lp://staging/~cjwatson/lazr.restful/py3-no-cmp
Merge into: lp://staging/lazr.restful
Diff against target: 14 lines (+1/-3)
1 file modified
src/lazr/restful/metazcml.py (+1/-3)
To merge this branch: bzr merge lp://staging/~cjwatson/lazr.restful/py3-no-cmp
Reviewer Review Type Date Requested Status
Ioana Lasc (community) Approve
LAZR Developers Pending
Review via email: mp+378531@code.staging.launchpad.net

Commit message

Rephrase ensure_correct_version_ordering without cmp.

Description of the change

Python 3 doesn't have cmp() or sorted(cmp=...), but the now-preferred form of sorted(key=...) is actually simpler here.

To post a comment you must log in.
Revision history for this message
Ioana Lasc (ilasc) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches