Merge ~cjwatson/launchpad:unsixify-breezy into launchpad:master
Proposed by
Colin Watson
Status: | Merged |
---|---|
Approved by: | Colin Watson |
Approved revision: | 4f3bb6b277c6abd81d3c22476c776b44d53fed86 |
Merge reported by: | Otto Co-Pilot |
Merged at revision: | not available |
Proposed branch: | ~cjwatson/launchpad:unsixify-breezy |
Merge into: | launchpad:master |
Diff against target: |
252 lines (+42/-48) 8 files modified
lib/lp/code/bzr.py (+6/-9) lib/lp/code/interfaces/tests/test_branch.py (+1/-2) lib/lp/code/model/branchjob.py (+1/-2) lib/lp/code/xmlrpc/tests/test_codehosting.py (+5/-6) lib/lp/codehosting/bzrutils.py (+7/-8) lib/lp/codehosting/puller/tests/test_scheduler.py (+5/-5) lib/lp/codehosting/puller/worker.py (+12/-6) lib/lp/codehosting/vfs/tests/test_branchfs.py (+5/-10) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jürgen Gmach | Approve | ||
Review via email: mp+436685@code.launchpad.net |
Commit message
Remove six from code interacting with Breezy
Description of the change
On Python 3 we know the types involved (in particular, Breezy always returns the various format strings as bytes), so we can just use `.decode`/`.encode` rather than `six.ensure_*`.
To post a comment you must log in.