Merge ~cjwatson/launchpad:py3-cmp into launchpad:master
Proposed by
Colin Watson
Status: | Merged |
---|---|
Approved by: | Colin Watson |
Approved revision: | 688851cb3b5ebb14c232712a95400bafe078aef7 |
Merge reported by: | Otto Co-Pilot |
Merged at revision: | not available |
Proposed branch: | ~cjwatson/launchpad:py3-cmp |
Merge into: | launchpad:master |
Diff against target: |
406 lines (+64/-77) 10 files modified
lib/lp/archivepublisher/domination.py (+8/-4) lib/lp/archivepublisher/tests/test_dominator.py (+10/-6) lib/lp/archiveuploader/tests/nascentupload-announcements.txt (+1/-4) lib/lp/bugs/doc/initial-bug-contacts.txt (+2/-4) lib/lp/registry/browser/product.py (+5/-8) lib/lp/registry/doc/distribution-mirror.txt (+2/-1) lib/lp/registry/doc/teammembership-email-notification.txt (+3/-4) lib/lp/registry/tests/test_distroseriesdifferencecomment.py (+2/-7) lib/lp/services/doc/orderingcheck.txt (+1/-4) lib/lp/services/webapp/sorting.py (+30/-35) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ioana Lasc (community) | Approve | ||
Review via email: mp+394483@code.launchpad.net |
Commit message
Stop using cmp() and sorted(cmp=...)
Description of the change
These are no longer supported in Python 3; we need to use constructions involving sorted(key=...) instead.
To post a comment you must log in.