* src/GrampsDbUtils/_WriteGedcom.py (GedcomWriter.__write_person_name): fix

handling of patronymic names

2007-08-30  Don Allingham  <don@gramps-project.org>


svn: r8895
This commit is contained in:
Don Allingham 2007-08-30 18:32:15 +00:00
parent fafd500642
commit d2d426ce7c
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2007-08-30 Don Allingham <don@gramps-project.org>
* src/GrampsDbUtils/_WriteGedcom.py (GedcomWriter.__write_person_name): fix
handling of patronymic names
2007-08-30 Don Allingham <don@gramps-project.org>
* src/RelLib/_MediaObject.py (MediaObject.unserialize): fix init of
self.marker

View File

@ -1038,7 +1038,7 @@ class GedcomWriter(UpdateCallback):
firstname = name.get_first_name().strip()
patron = name.get_patronymic().strip()
if patron:
firstname = "%s %s" % (first, patron)
firstname = "%s %s" % (firstname, patron)
surname = name.get_surname().replace('/', '?')
surprefix = name.get_surname_prefix().replace('/', '?')