0

redirecting output to a log file now works on Python 2.6 (Issue #535)

This commit is contained in:
Aaron Griffith
2011-11-15 15:47:33 -05:00
parent 142166ef8e
commit eac7561ed1

View File

@@ -288,7 +288,7 @@ class DumbFormatter(HighlightingFormatter):
line = "*" * min(79,len(line)) + "\n" + line line = "*" * min(79,len(line)) + "\n" + line
return line return line
else: else:
return super(DumbFormatter, self).highlight(record) return HighlightingFormatter.highlight(self, record)
class ANSIColorFormatter(HighlightingFormatter): class ANSIColorFormatter(HighlightingFormatter):