Merge lp:~brian.curtin/ubuntuone-dev-tools/py3-bytes-formatting into lp:ubuntuone-dev-tools
Proposed by
Brian Curtin
Status: | Merged |
---|---|
Approved by: | dobey |
Approved revision: | 96 |
Merged at revision: | 94 |
Proposed branch: | lp:~brian.curtin/ubuntuone-dev-tools/py3-bytes-formatting |
Merge into: | lp:ubuntuone-dev-tools |
Diff against target: |
35 lines (+6/-5) 1 file modified
ubuntuone/devtools/testing/tests/test_txwebserver.py (+6/-5) |
To merge this branch: | bzr merge lp:~brian.curtin/ubuntuone-dev-tools/py3-bytes-formatting |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
dobey (community) | Approve | ||
Manuel de la Peña (community) | Approve | ||
Review via email: mp+121711@code.launchpad.net |
Commit message
- Remove byte string formatting, instead first formatting Unicode strings and then storing encoded bytes.
Description of the change
Python 3 byte strings do not have the ".format" method, so instead we should format a Unicode string and then encode it.
To post a comment you must log in.