Merge lp:~leonardr/lazr.restful/fix-unicode-error into lp:lazr.restful
Proposed by
Leonard Richardson
on 2010-10-25
| Status: | Merged |
|---|---|
| Approved by: | Aaron Bentley on 2010-10-25 |
| Approved revision: | 158 |
| Merged at revision: | 155 |
| Proposed branch: | lp:~leonardr/lazr.restful/fix-unicode-error |
| Merge into: | lp:lazr.restful |
| Diff against target: |
290 lines (+102/-44) 6 files modified
src/lazr/restful/NEWS.txt (+1/-1) src/lazr/restful/_resource.py (+13/-13) src/lazr/restful/docs/webservice.txt (+22/-22) src/lazr/restful/marshallers.py (+4/-4) src/lazr/restful/tests/test_webservice.py (+61/-3) src/lazr/restful/version.txt (+1/-1) |
| To merge this branch: | bzr merge lp:~leonardr/lazr.restful/fix-unicode-error |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Aaron Bentley (community) | 2010-10-25 | Approve on 2010-10-25 | |
|
Review via email:
|
|||
Description of the Change
This branch changes a number of related places where Python error strings are merged with strings that may be Unicode strings. If this happens, it can cause encoding errors.
I've added a test to verify that the one case that actually causes encoding errors right now is fixed by this change.
To post a comment you must log in.
lp:~leonardr/lazr.restful/fix-unicode-error
updated
on 2010-10-25
- 157. By Leonard Richardson on 2010-10-25
-
Revved version.
- 158. By Leonard Richardson on 2010-10-25
-
Changed the doctest to a unit test.
review:
Approve
