4486: Validate webpages again, single parent families

svn: r18073
This commit is contained in:
Michiel Nauta 2011-08-27 09:44:20 +00:00
parent 0404cbdef7
commit 7610af42db

View File

@ -5278,9 +5278,9 @@ class IndividualPage(BasePage):
pedsp = (Html("li", class_ = "spouse") + pedsp = (Html("li", class_ = "spouse") +
self.pedigree_person(spouse) self.pedigree_person(spouse)
) )
ped += [pedsp]
else: else:
pedsp = ped pedsp = (Html("li", class_ = "spouse"))
ped += [pedsp]
childlist = rel_family.get_child_ref_list() childlist = rel_family.get_child_ref_list()
if childlist: if childlist:
with Html("ol") as childol: with Html("ol") as childol: