* src/AddSpouse.py, src/ChooseParents.py, src/EditPerson.py,
src/EditPlace.py, src/EditSource.py, src/EventEdit.py, src/FamilyView.py, src/GenericFilter.py, src/Marriage.py, src/PedView.py, src/PeopleModel.py, src/PlaceView.py, src/RelLib.py, src/SelectChild.py, src/Sort.py, src/SourceView.py, src/SubstKeywords.py, src/WriteGedcom.py, src/WriteXML.py, src/plugins/AncestorReport.py, src/plugins/Ancestors.py, src/plugins/ChangeTypes.py, src/plugins/DescendReport.py, src/plugins/DetDescendantReport.py, src/plugins/EventCmp.py, src/plugins/FamilyGroup.py, src/plugins/FanChart.py, src/plugins/FtmStyleAncestors.py, src/plugins/FtmStyleDescendants.py, src/plugins/GraphViz.py, src/plugins/IndivComplete.py, src/plugins/IndivSummary.py, src/plugins/Merge.py, src/plugins/RelCalc.py, src/plugins/RelGraph.py, src/plugins/Summary.py, src/plugins/TimeLine.py, src/plugins/Verify.py, src/plugins/WebPage.py, src/plugins/WriteCD.py, src/plugins/WritePkg.py, src/plugins/DetAncestralReport.py: Use get_event_from_handle (not find_ ). svn: r3462
This commit is contained in:
@@ -261,12 +261,12 @@ class XmlWriter:
|
||||
self.dump_name("aka",name,3)
|
||||
|
||||
self.write_line("nick",person.get_nick_name(),3)
|
||||
birth = self.db.find_event_from_handle(person.get_birth_handle())
|
||||
death = self.db.find_event_from_handle(person.get_death_handle())
|
||||
birth = self.db.get_event_from_handle(person.get_birth_handle())
|
||||
death = self.db.get_event_from_handle(person.get_death_handle())
|
||||
self.dump_my_event("Birth",birth,3)
|
||||
self.dump_my_event("Death",death,3)
|
||||
for event_handle in person.get_event_list():
|
||||
event = self.db.find_event_from_handle(event_handle)
|
||||
event = self.db.get_event_from_handle(event_handle)
|
||||
self.dump_event(event,3)
|
||||
|
||||
self.dump_ordinance("baptism",person.get_lds_baptism(),3)
|
||||
@@ -332,7 +332,7 @@ class XmlWriter:
|
||||
self.write_ref("father",fid,3)
|
||||
self.write_ref("mother",mid,3)
|
||||
for event_handle in family.get_event_list():
|
||||
event = self.db.find_event_from_handle(event_handle)
|
||||
event = self.db.get_event_from_handle(event_handle)
|
||||
self.dump_event(event,3)
|
||||
self.dump_ordinance("sealed_to_spouse",family.get_lds_sealing(),3)
|
||||
|
||||
|
Reference in New Issue
Block a user