* src/WriteGedcom.py (GedcomWriter.write_person): handle

empty event handles


svn: r3693
This commit is contained in:
Don Allingham 2004-10-30 16:36:20 +00:00
parent 20c4f87988
commit bc5847f464
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2004-10-30 Don Allingham <dallingham@users.sourceforge.net>
* src/WriteGedcom.py (GedcomWriter.write_person): handle
empty event handles
2004-10-28 Don Allingham <dallingham@users.sourceforge.net>
* Makefile.am: added distuninstallcheck_listfiles
* doc/Makefile.am: Added CLEANFILES

View File

@ -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