Merge lp:~daniel-thewatkins/cloud-init/fix-multi_log into lp:~cloud-init-dev/cloud-init/trunk
Proposed by
Dan Watkins
on 2015-02-11
| Status: | Merged |
|---|---|
| Merged at revision: | 1055 |
| Proposed branch: | lp:~daniel-thewatkins/cloud-init/fix-multi_log |
| Merge into: | lp:~cloud-init-dev/cloud-init/trunk |
| Diff against target: |
173 lines (+91/-10) 4 files modified
cloudinit/util.py (+3/-3) tests/unittests/helpers.py (+13/-0) tests/unittests/test_util.py (+73/-5) tox.ini (+2/-2) |
| To merge this branch: | bzr merge lp:~daniel-thewatkins/cloud-init/fix-multi_log |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Scott Moser | 2015-02-11 | Pending | |
|
Review via email:
|
|||
Description of the Change
This fixes the encoding problem that was causing warnings in cloud-init logs.
It also introduces unit tests for util.multi_log (the problematic part of the code), fixes a test that was failing, and makes it easier to run a single test file using tox.
To post a comment you must log in.
lp:~daniel-thewatkins/cloud-init/fix-multi_log
updated
on 2015-02-11
- 1060. By Dan Watkins on 2015-02-11
-
Open /dev/console in text mode (so we don't have to encode strings to write them).

