Fixed a crash in dump_ordinance() where I forgot to remove a variable at line 607/

svn: r18650
This commit is contained in:
Rob G. Healey 2011-12-23 07:33:28 +00:00
parent a28fa30d27
commit e0fa12b729

View File

@ -604,7 +604,7 @@ class BasePage(object):
trow = Html("tr") + ( trow = Html("tr") + (
Html("td", " ", class_ = "ColumnType", inline = True), Html("td", " ", class_ = "ColumnType", inline = True),
Html("td", _("LDS Ordinance"), class_ = "ColumnAttribute", inline = True), Html("td", _("LDS Ordinance"), class_ = "ColumnAttribute", inline = True),
Html("td", self.dump_ordinance(self.dbase_, family, "Family"), class_ = "ColumnValue") Html("td", self.dump_ordinance(family, "Family"), class_ = "ColumnValue")
) )
table += trow table += trow
@ -1035,7 +1035,7 @@ class BasePage(object):
(_("Date"), "ColumnDate", _dd.display(evt.get_date_object()) ), (_("Date"), "ColumnDate", _dd.display(evt.get_date_object()) ),
(_("Place"), "ColumnPlace", place_hyper) ] (_("Place"), "ColumnPlace", place_hyper) ]
def dump_ordinance(self, ldsobj, LDSSealedType = "Person"): def dump_ordinance(self, ldsobj, LDSSealedType):
""" """
will dump the LDS Ordinance information for either will dump the LDS Ordinance information for either
a person or a family ... a person or a family ...
@ -2032,7 +2032,7 @@ class BasePage(object):
section += Html("h4", _("Latter-Day Saints/ LDS Ordinance"), inline = True) section += Html("h4", _("Latter-Day Saints/ LDS Ordinance"), inline = True)
# ump individual LDS ordinance list # ump individual LDS ordinance list
section += self.dump_ordinance(db_obj_) section += self.dump_ordinance(db_obj_, "Person")
# return section to its caller # return section to its caller
return section return section