Merge lp:~qzhang/lava-dispatcher/fix-unicode-encode-err into lp:lava-dispatcher
Proposed by
Spring Zhang
Status: | Rejected |
---|---|
Rejected by: | Spring Zhang |
Proposed branch: | lp:~qzhang/lava-dispatcher/fix-unicode-encode-err |
Merge into: | lp:lava-dispatcher |
Diff against target: |
17 lines (+6/-1) 1 file modified
lava/dispatcher/client.py (+6/-1) |
To merge this branch: | bzr merge lp:~qzhang/lava-dispatcher/fix-unicode-encode-err |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Paul Larson (community) | Needs Information | ||
Zygmunt Krynicki (community) | Needs Information | ||
Review via email: mp+63083@code.launchpad.net |
Description of the change
fix Bug #788846
To post a comment you must log in.
Unmerged revisions
- 60. By Spring Zhang
-
Fix error "UnicodeDecodeE
rror: 'ascii' codec can't decode" when get_value in StringIO
Is self.serialio expecting binary strings or unicode strings? Do you do any extra manipulation on that string? This code seems to do nothing useful because:
1) Either the serial line expects unicode strings and the world is upside down (this is not likely)
2) The serial line is happy with any bytes you send it and you just corrupt the 8th bit for no good reason.