bad interaction between Colorama and the CLI

Bug #1999191 reported by Alexsander de Souza
6
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

Revision history for this message
Adam Collard (adam-collard) wrote :
Changed in maas:
status: Triaged → Fix Committed
Alberto Donato (ack)
Changed in maas:
milestone: 3.4.0 → 3.4.0-beta1
Alberto Donato (ack)
Changed in maas:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.