mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-02-10 14:07:29 +00:00
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 d7a676d0741729bb643e0b8c54b989cb747c6a4b 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>
This commit is contained in:
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…
x
Reference in New Issue
Block a user