From 807ce4e4961a47e4f426f7292a0c0cd64804554c Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Mon, 7 Jul 2003 10:39:05 +0000 Subject: [PATCH] 2003-07-07 Tim Waugh * src/plugins/WriteGedcom.py: Fix GEDCOM export. svn: r1834 --- ChangeLog | 3 +++ src/plugins/WriteGedcom.py | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 6ff7ea8aa..2f3c3ddcc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2003-07-07 Tim Waugh + * src/plugins/WriteGedcom.py: Fix GEDCOM export. + 2003-07-06 Don Allingham * gramps.sh.in: Don't override an existing PYTHONPATH environment variable diff --git a/src/plugins/WriteGedcom.py b/src/plugins/WriteGedcom.py index 27dde25f7..1fe8681e0 100644 --- a/src/plugins/WriteGedcom.py +++ b/src/plugins/WriteGedcom.py @@ -1032,8 +1032,9 @@ class GedcomWriter: def write_person_name(self,name,nick): firstName = self.cnvtxt(name.getFirstName()) surName = self.cnvtxt(name.getSurname()) + surName = surName.replace('/','?') surPref = self.cnvtxt(name.getSurnamePrefix()) - surName = surPref.replace('/','?') + surPref = surPref.replace('/','?') suffix = self.cnvtxt(name.getSuffix()) title = self.cnvtxt(name.getTitle()) if suffix == "":