[mhonarc] don't use ''' when not spanning multiple lines
- From: Olav Vitters <ovitters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mhonarc] don't use ''' when not spanning multiple lines
- Date: Wed, 13 Feb 2013 12:46:33 +0000 (UTC)
commit 82ada6156d57691ccb07831c6cac79eef280b07d
Author: Olav Vitters <olav vitters nl>
Date: Wed Feb 13 13:46:30 2013 +0100
don't use ''' when not spanning multiple lines
archive.py | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/archive.py b/archive.py
index 7f6325c..741d521 100755
--- a/archive.py
+++ b/archive.py
@@ -361,7 +361,7 @@ Search:
fp.write('<h2>By {link_title}<a name="{link}"></a></h2>'.format(link=link, link_title=link.title()))
fp.write('<table border=0>')
for year in sorted(years, reverse=True):
- fp.write('''<tr><th>%s</th>''' % year)
+ fp.write('<tr><th>%s</th>' % year)
for monthnr in xrange(1, 13):
if monthnr in years[year]:
@@ -376,10 +376,10 @@ Search:
fp.write('<table border=0>')
fp.write('<tr><th>Year</th>')
for month in sorted(cls.MONTHS, key=cls.MONTHS.get):
- fp.write('''<th>%s</th>''' % month[:3].title())
+ fp.write('<th>%s</th>' % month[:3].title())
for year in sorted(years, reverse=True):
- fp.write('''<tr><th>%s</th>''' % year)
+ fp.write('<tr><th>%s</th>' % year)
for monthnr in xrange(1, 13):
if monthnr in years[year]:
mboxsize = 0
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]