Restore person-place replace_handle_reference.

svn: r16555
This commit is contained in:
Michiel Nauta 2011-02-03 18:17:00 +00:00
parent d094f2e218
commit a34d022cae

View File

@ -330,6 +330,7 @@ class Person(SourceBase, NoteBase, AttributeBase, MediaBase,
while old_handle in self.parent_family_list: while old_handle in self.parent_family_list:
ix = self.parent_family_list.index(old_handle) ix = self.parent_family_list.index(old_handle)
self.parent_family_list[ix] = new_handle self.parent_family_list[ix] = new_handle
elif classname == "Place":
handle_list = [ordinance.place for ordinance in self.lds_ord_list] handle_list = [ordinance.place for ordinance in self.lds_ord_list]
while old_handle in handle_list: while old_handle in handle_list:
ix = handle_list.index(old_handle) ix = handle_list.index(old_handle)