From bad5bf1ef5bab02ad09e1e8a736aaf47c75b6602 Mon Sep 17 00:00:00 2001 From: Claudiu Popa Date: Thu, 15 Oct 2015 19:22:54 +0300 Subject: Use the u'' prefix throught text writer. --- pylint/reporters/ureports/text_writer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylint/reporters/ureports/text_writer.py b/pylint/reporters/ureports/text_writer.py index 87538b2..c3014bd 100644 --- a/pylint/reporters/ureports/text_writer.py +++ b/pylint/reporters/ureports/text_writer.py @@ -84,7 +84,7 @@ class TextWriter(BaseWriter): cols_width = [size+1 for size in cols_width] format_strings = u' '.join([u'%%-%ss'] * len(cols_width)) format_strings = format_strings % tuple(cols_width) - format_strings = format_strings.split(' ') + format_strings = format_strings.split(u' ') table_linesep = u'\n+' + u'+'.join([u'-'*w for w in cols_width]) + u'+\n' headsep = u'\n+' + u'+'.join([u'='*w for w in cols_width]) + u'+\n' # FIXME: layout.cheaders -- cgit v1.2.1