juju-deployer output should be unbuffered
Bug #1423964 reported by
Tom Haddon
This bug affects 2 people
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| Mojo: Continuous Delivery for Juju |
Confirmed
|
Medium
|
Unassigned | ||
Bug Description
Currently we do this in mojo/phase.py:
cmd = ['python', deployer, '-c', configs[1], "-l"]
If we change this to this we'd get unbuffered output, which would be helpful when you're sending the output of a mojo run to a log file:
cmd = ['python', '-u', deployer, '-c', configs[1], "-l"]
| Changed in mojo: | |
| importance: | Undecided → Low |
| Changed in mojo: | |
| status: | New → Confirmed |
| importance: | Low → Medium |
| tags: | added: papercut |
To post a comment you must log in.
Actually, seems it's line 369:
cmd = ('python', deployer)
Which should be:
cmd = ('python', '-u', deployer)