Drop closing li tag from "valid candidate" messages

Although it's technically correct, none of the other messages include closing
tags, and at least grep-excuses isn't prepared to deal with closing tags.

Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
This commit is contained in:
Adam D. Barratt 2012-01-08 12:34:55 +00:00
parent 60aa770496
commit e24a8aa140

View File

@ -159,6 +159,6 @@ class Excuse(object):
if n not in self.deps:
res += "<li>Ignoring %s depends: <a href=\"#%s\">%s</a>\n" % (a, n, n)
if self.is_valid:
res += "<li>Valid candidate</li>\n"
res += "<li>Valid candidate\n"
res = res + "</ul>\n"
return res