From 87bf5fa71acaabbf3998191f0710ed796d7d0332 Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Wed, 13 Apr 2005 17:29:52 +0000 Subject: [PATCH] * src/WriteGedcom.py: fixed problem with skipping events svn: r4357 --- gramps2/ChangeLog | 3 +++ gramps2/src/WriteGedcom.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index b159f99a3..820c139a9 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,6 @@ +2005-04-13 Don Allingham + * src/WriteGedcom.py: fixed problem with skipping events + 2005-04-12 Don Allingham * src/FamilyView.py: commit family before people when committing new spouse. diff --git a/gramps2/src/WriteGedcom.py b/gramps2/src/WriteGedcom.py index 7721913d5..75173b070 100644 --- a/gramps2/src/WriteGedcom.py +++ b/gramps2/src/WriteGedcom.py @@ -810,7 +810,7 @@ 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: + if not event_handle: continue event = self.db.get_event_from_handle(event_handle) if self.private and event.get_privacy():