4486: Validate webpages again, single parent families

svn: r18072
This commit is contained in:
Michiel Nauta 2011-08-27 09:43:08 +00:00
parent 94799a83ca
commit 41dfd5e55e

View File

@ -5648,9 +5648,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: