Commit a027b2f8 authored by Benjamin Graillot's avatar Benjamin Graillot

Suppression d'un .format inutile

parent 934e5b56
......@@ -3536,7 +3536,7 @@ def calhead_yearmonthday(year, month, day, headclass, colspan):
html = [
u'<tr><td width="4%" style="border: none;">&nbsp;</td>',
u'<td colspan="%d" style="border: none;">'.format(colspan),
u'<td colspan="{0}" style="border: none;">'.format(colspan),
u'<table width="95%">',
u' <tr>',
u' <td class="{0}"><a href="{1}" title="{2}">&lt;</a></td>'.format(headclass, prevlink, strprevmonth),
......@@ -3974,7 +3974,7 @@ def calshow_weekly_eventbox2(event, colspan, width, status, cur_date):
def calshow_blankeventbox2(colspan, width):
html = [
u' <td colspan="{colspan}d"'.format(colspan=colspan),
u' style="width: {width}s;" class="cal_blankeventbox">&nbsp;</td>'.format(width='{0}%'.format(width)),
u' style="width: {width}%s;" class="cal_blankeventbox">&nbsp;</td>'.format(width),
]
return u'\r\n'.join(html)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment