From 6c8b83d58bcb3f22dcb1ef8f71c45cbba17ef1b3 Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Tue, 12 Jun 2012 10:27:10 +0000 Subject: [PATCH] continues should be returns svn: r19832 --- src/plugins/export/ExportGedcom.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/export/ExportGedcom.py b/src/plugins/export/ExportGedcom.py index 517693ead..21e38d761 100644 --- a/src/plugins/export/ExportGedcom.py +++ b/src/plugins/export/ExportGedcom.py @@ -569,13 +569,13 @@ class GedcomWriter(UpdateCallback): etype = int(event.get_type()) # if the event is a birth or death, skip it. if etype in (gen.lib.EventType.BIRTH, gen.lib.EventType.DEATH): - continue + return role = int(event_ref.get_role()) # if the event role is not primary, skip the event. if role != gen.lib.EventRoleType.PRIMARY: - continue + return val = libgedcom.PERSONALCONSTANTEVENTS.get(etype, "").strip()