Merge ~smoser/curtin:cleanup/capture-combined-return-empty-not-none into curtin:master
Proposed by
Scott Moser
Status: | Merged |
---|---|
Approved by: | Scott Moser |
Approved revision: | de680f70c8cd8114d064e06b25f8d020f89bfe91 |
Merge reported by: | Scott Moser |
Merged at revision: | 3e0c1c2668f259233cfd21be7ed48af335c734da |
Proposed branch: | ~smoser/curtin:cleanup/capture-combined-return-empty-not-none |
Merge into: | curtin:master |
Diff against target: |
42 lines (+8/-5) 2 files modified
curtin/util.py (+7/-4) tests/unittests/test_util.py (+1/-1) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ryan Harper (community) | Approve | ||
Server Team CI bot | continuous-integration | Approve | |
Review via email: mp+347067@code.launchpad.net |
Commit message
subp: update return value of subp with combine_
combine_capture previously would return None in the stderr response.
This was inconsistent with capture=True, combine_
It seems more consistent to always return the bytes or string as
documented. Test case and docstring are updated accordingly.
Description of the change
see commit message
To post a comment you must log in.
PASSED: Continuous integration, rev:de680f70c8c d8114d064e06b25 f8d020f89bfe91 /jenkins. ubuntu. com/server/ job/curtin- ci/959/ /jenkins. ubuntu. com/server/ job/curtin- ci/nodes= metal-amd64/ 959 /jenkins. ubuntu. com/server/ job/curtin- ci/nodes= metal-arm64/ 959 /jenkins. ubuntu. com/server/ job/curtin- ci/nodes= metal-ppc64el/ 959 /jenkins. ubuntu. com/server/ job/curtin- ci/nodes= metal-s390x/ 959
https:/
Executed test runs:
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
Click here to trigger a rebuild: /jenkins. ubuntu. com/server/ job/curtin- ci/959/ rebuild
https:/