* src/WriteGedcom.py: fixed problem with skipping events

svn: r4357
This commit is contained in:
Don Allingham 2005-04-13 17:29:52 +00:00
parent 398985027a
commit 87bf5fa71a
2 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,6 @@
2005-04-13 Don Allingham <don@gramps-project.org>
* src/WriteGedcom.py: fixed problem with skipping events
2005-04-12 Don Allingham <don@gramps-project.org> 2005-04-12 Don Allingham <don@gramps-project.org>
* src/FamilyView.py: commit family before people when committing * src/FamilyView.py: commit family before people when committing
new spouse. new spouse.

View File

@ -810,7 +810,7 @@ class GedcomWriter:
self.write_ord("SLGC",person.get_lds_sealing(),1,const.lds_csealing) self.write_ord("SLGC",person.get_lds_sealing(),1,const.lds_csealing)
for event_handle in person.get_event_list(): for event_handle in person.get_event_list():
if event_handle: if not event_handle:
continue continue
event = self.db.get_event_from_handle(event_handle) event = self.db.get_event_from_handle(event_handle)
if self.private and event.get_privacy(): if self.private and event.get_privacy():