diff options
author | Claudiu Popa <pcmanticore@gmail.com> | 2015-10-16 15:46:28 +0300 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2015-10-16 15:46:28 +0300 |
commit | af9129e7c7c6cec7e88e1458bb7c653389d07538 (patch) | |
tree | 33ae4fcacd775d472a0903c750a8bb1dcca257af | |
parent | 52e739b0bcccc391b292e35d8e5e449d6154388a (diff) | |
download | pylint-af9129e7c7c6cec7e88e1458bb7c653389d07538.tar.gz |
Use unicode string.
-rw-r--r-- | pylint/reporters/ureports/html_writer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pylint/reporters/ureports/html_writer.py b/pylint/reporters/ureports/html_writer.py index 29c1cd3..db90171 100644 --- a/pylint/reporters/ureports/html_writer.py +++ b/pylint/reporters/ureports/html_writer.py @@ -76,7 +76,7 @@ class HTMLWriter(BaseWriter): elif i+1 == len(table_content) and layout.rrheaders: self.writeln(u'<tr class="header">') else: - self.writeln(u'<tr class="%s">' % ('even' if i % 2 else u'odd')) + self.writeln(u'<tr class="%s">' % (u'even' if i % 2 else u'odd')) for j, cell in enumerate(row): cell = cell or u' ' if (layout.rheaders and i == 0) or \ |