2003-07-07 Tim Waugh <twaugh@redhat.com>

* src/plugins/WriteGedcom.py: Fix GEDCOM export.


svn: r1834
This commit is contained in:
Tim Waugh 2003-07-07 10:39:05 +00:00
parent cb2105f416
commit 807ce4e496
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,6 @@
2003-07-07 Tim Waugh <twaugh@redhat.com>
* src/plugins/WriteGedcom.py: Fix GEDCOM export.
2003-07-06 Don Allingham <dallingham@users.sourceforge.net>
* gramps.sh.in: Don't override an existing PYTHONPATH environment
variable

View File

@ -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 == "":