diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index cef95cf03..5c2f736f3 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,7 @@ +2004-10-30 Don Allingham + * src/WriteGedcom.py (GedcomWriter.write_person): handle + empty event handles + 2004-10-28 Don Allingham * Makefile.am: added distuninstallcheck_listfiles * doc/Makefile.am: Added CLEANFILES diff --git a/gramps2/src/WriteGedcom.py b/gramps2/src/WriteGedcom.py index f5622a43f..e98595e85 100644 --- a/gramps2/src/WriteGedcom.py +++ b/gramps2/src/WriteGedcom.py @@ -811,6 +811,8 @@ class GedcomWriter: self.write_ord("SLGC",person.get_lds_sealing(),1,const.lds_csealing) for event_handle in person.get_event_list(): + if event_handle: + continue event = self.db.get_event_from_handle(event_handle) if self.private and event.get_privacy(): continue