summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaudiu Popa <pcmanticore@gmail.com>2015-10-16 15:46:28 +0300
committerClaudiu Popa <pcmanticore@gmail.com>2015-10-16 15:46:28 +0300
commitaf9129e7c7c6cec7e88e1458bb7c653389d07538 (patch)
tree33ae4fcacd775d472a0903c750a8bb1dcca257af
parent52e739b0bcccc391b292e35d8e5e449d6154388a (diff)
downloadpylint-af9129e7c7c6cec7e88e1458bb7c653389d07538.tar.gz
Use unicode string.
-rw-r--r--pylint/reporters/ureports/html_writer.py2
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'&#160;'
if (layout.rheaders and i == 0) or \