Fix text output to filenames

This commit is contained in:
Bastian Kleineidam 2009-02-24 15:27:14 +01:00
parent e007d64762
commit 8e82c31fb6

View file

@ -84,6 +84,11 @@ class TextLogger (Logger):
if self.fd is not None:
self.fd = ansicolor.Colorizer(self.fd)
def start_fileoutput (self):
"""Needed to make file descriptor color aware."""
super(TextLogger, self).start_fileoutput()
self.fd = ansicolor.Colorizer(self.fd)
def start_output (self):
"""
Write generic start checking info.