Merge lp:~gocept/landscape-client/py3-twisted-util into lp:~landscape/landscape-client/trunk
Status: | Merged |
---|---|
Approved by: | Данило Шеган |
Approved revision: | 963 |
Merged at revision: | 955 |
Proposed branch: | lp:~gocept/landscape-client/py3-twisted-util |
Merge into: | lp:~landscape/landscape-client/trunk |
Prerequisite: | lp:~gocept/landscape-client/py3-fs |
Diff against target: |
146 lines (+19/-23) 2 files modified
landscape/lib/tests/test_twisted_util.py (+10/-14) landscape/lib/twisted_util.py (+9/-9) |
To merge this branch: | bzr merge lp:~gocept/landscape-client/py3-twisted-util |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Daniel Havlik (community) | Approve | ||
🤖 Landscape Builder | test results | Approve | |
Данило Шеган (community) | Approve | ||
Steffen Allner (community) | Approve | ||
Landscape | Pending | ||
Landscape | Pending | ||
Review via email:
|
This proposal supersedes a proposal from 2017-03-06.
Commit message
Support python 2 and 3 in code which receives data from the stdout and stderr and therefore handles with Bytes and not with Stings in Python 3. To reduce the amount of compat code, the code has been changed to use the same `io.BytesIO()` in Python 2 and 3.
Description of the change
We are on the journey to get the Bytes / String story solved for Python 2/3 compatibility.
This MP considers the part of code which receives data from the stdout and stderr and therefore handles with Bytes and not with Stings in Python 3. To reduce the amount of compat code, the code has been changed to use the same `io.BytesIO()` in Python 2 and 3.
Command: TRIAL_ARGS=-j4 make check /ci.lscape. net/job/ latch-test- precise/ 887/
Result: Fail
Revno: 959
Branch: lp:~gocept/landscape-client/py3-twisted-util
Jenkins: https:/