Merge lp:~brian.curtin/ubuntuone-dev-tools/py3-bytes-formatting into lp:ubuntuone-dev-tools
Proposed by
Brian Curtin
on 2012-08-28
| Status: | Merged |
|---|---|
| Approved by: | dobey on 2012-08-31 |
| 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 on 2012-08-31 | ||
| Manuel de la Peña (community) | 2012-08-28 | Approve on 2012-08-30 | |
|
Review via email:
|
|||
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.
review:
Approve
review:
Approve
