redirecting output to a log file now works on Python 2.6 (Issue #535)
This commit is contained in:
@@ -288,7 +288,7 @@ class DumbFormatter(HighlightingFormatter):
|
||||
line = "*" * min(79,len(line)) + "\n" + line
|
||||
return line
|
||||
else:
|
||||
return super(DumbFormatter, self).highlight(record)
|
||||
return HighlightingFormatter.highlight(self, record)
|
||||
|
||||
|
||||
class ANSIColorFormatter(HighlightingFormatter):
|
||||
|
||||
Reference in New Issue
Block a user