excuse: Add an EOL to the verdict summary line in HTML output

devscripts' grep-excuses expects each <li> to be on its own line.  When
d7a676d074 added the verdict summary,
without an EOL, it broke grep-excuses' ability to search by maintainer.

Signed-off-by: James McCoy <jamessan@debian.org>
Signed-off-by: Niels Thykier <niels@thykier.net>
ubuntu/rebased
James McCoy 8 years ago committed by Niels Thykier
parent 67c784f796
commit 0c44d3ac27

@ -182,7 +182,7 @@ class Excuse(object):
"""Render the excuse in HTML"""
res = "<a id=\"%s\" name=\"%s\">%s</a> (%s to %s)\n<ul>\n" % \
(self.name, self.name, self.name, self.ver[0], self.ver[1])
res += "<li>Migration status: %s" % self._format_verdict_summary()
res += "<li>Migration status: %s\n" % self._format_verdict_summary()
if self.maint:
res = res + "<li>Maintainer: %s\n" % (self.maint)
if self.section and self.section.find("/") > -1:

Loading…
Cancel
Save