Commit 9532955c authored by Michal Čihař's avatar Michal Čihař

Wrap long line

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent fe2fbedc
...@@ -583,7 +583,9 @@ def get_location_links(unit): ...@@ -583,7 +583,9 @@ def get_location_links(unit):
if link is None: if link is None:
ret.append(escape(location)) ret.append(escape(location))
else: else:
ret.append('<a href="%s">%s</a>' % (escape(link), escape(location))) ret.append(
'<a href="{0}">{1}</a>'.format(escape(link), escape(location))
)
return mark_safe('\n'.join(ret)) return mark_safe('\n'.join(ret))
......
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