bad interaction between Colorama and the CLI
Bug #1999191 reported by
Alexsander de Souza
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Alexsander de Souza | ||
3.3 |
Fix Released
|
Critical
|
Alexsander de Souza |
Bug Description
When colorama is present, Django loads it automatically. This module interferes with the CLI raw output, so we need to get the original stdout descriptor.
There was an attempt to fix this previously, but this fix is flaky.
Related branches
~adam-collard/maas:3.3-colorama-strikes-back
- Adam Collard (community): Approve
-
Diff: 96 lines (+18/-22)3 files modifiedsrc/maascli/__init__.py (+0/-13)
src/maascli/tests/test_integration.py (+1/-4)
src/maascli/utils.py (+17/-5)
~alexsander-souza/maas:colorama_strikes_back
Merged
into
maas:master
- Alberto Donato: Approve
- MAAS Lander: Approve
-
Diff: 96 lines (+18/-22)3 files modifiedsrc/maascli/__init__.py (+0/-13)
src/maascli/tests/test_integration.py (+1/-4)
src/maascli/utils.py (+17/-5)
Changed in maas: | |
status: | Triaged → Fix Committed |
Changed in maas: | |
milestone: | 3.4.0 → 3.4.0-beta1 |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
See also https:/ /bugs.launchpad .net/maas/ +bug/1996065