From 1aaa2df5a4e8b8252e26d0ddde39ca89c39a5da0 Mon Sep 17 00:00:00 2001 From: Gary Burton Date: Sun, 25 Jan 2009 19:58:00 +0000 Subject: [PATCH] Make GEDCOM export output family event descriptions as type. Bug 2649. svn: r11722 --- src/plugins/export/ExportGedcom.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/plugins/export/ExportGedcom.py b/src/plugins/export/ExportGedcom.py index b976b7bb8..fdfe55094 100644 --- a/src/plugins/export/ExportGedcom.py +++ b/src/plugins/export/ExportGedcom.py @@ -1005,12 +1005,9 @@ class GedcomWriter(BasicUtils.UpdateCallback): self.__writeln(1, val, 'Y') if event.get_type() == gen.lib.EventType.MARRIAGE: - ftype = family.get_relationship() - if ftype != gen.lib.FamilyRelType.MARRIED and str(ftype): - self.__writeln(2, 'TYPE', str(ftype)) - self.__family_event_attrs(event.get_attribute_list(), 2) - elif event.get_description().strip() != "": + + if event.get_description().strip() != "": self.__writeln(2, 'TYPE', event.get_description()) else: self.__writeln(1, 'EVEN')