In particular, visualize needs it to decide colour for an output
file that may or may not be stdout, so it needs to make its own
decision for that file.
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
hidden = False
use_colour = True
+ requested_colour = None
raw_argv = None
raw_args = None
"constants" in the colour module to be either real colours or empty
strings.
"""
+ self.requested_colour = requested
try:
colour.colour_if_wanted(self.outf, requested)
except ValueError as e: