GEDCOM specification fix. Bug 2491.
svn: r11280
This commit is contained in:
parent
149b6d0214
commit
ef5e586843
@ -2,6 +2,7 @@
|
|||||||
# Gramps - a GTK+/GNOME based genealogy program
|
# Gramps - a GTK+/GNOME based genealogy program
|
||||||
#
|
#
|
||||||
# Copyright (C) 2000-2007 Donald N. Allingham
|
# Copyright (C) 2000-2007 Donald N. Allingham
|
||||||
|
# Copyright (C) 2008 Gary Burton
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# This program is free software; you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
@ -1296,15 +1297,15 @@ class GedcomWriter(BasicUtils.UpdateCallback):
|
|||||||
title = name.get_title()
|
title = name.get_title()
|
||||||
if suffix == "":
|
if suffix == "":
|
||||||
if surprefix == "":
|
if surprefix == "":
|
||||||
self.__writeln(1, 'NAME', '%s/%s/' % (firstname, surname))
|
self.__writeln(1, 'NAME', '%s /%s/' % (firstname, surname))
|
||||||
else:
|
else:
|
||||||
self.__writeln(1, 'NAME', '%s/%s %s/' %
|
self.__writeln(1, 'NAME', '%s /%s %s/' %
|
||||||
(firstname, surprefix, surname))
|
(firstname, surprefix, surname))
|
||||||
elif surprefix == "":
|
elif surprefix == "":
|
||||||
self.__writeln(1, 'NAME', '%s/%s/ %s' %
|
self.__writeln(1, 'NAME', '%s /%s/ %s' %
|
||||||
(firstname, surname, suffix))
|
(firstname, surname, suffix))
|
||||||
else:
|
else:
|
||||||
self.__writeln(1, 'NAME', '%s/%s %s/ %s' %
|
self.__writeln(1, 'NAME', '%s /%s %s/ %s' %
|
||||||
(firstname, surprefix, surname, suffix))
|
(firstname, surprefix, surname, suffix))
|
||||||
|
|
||||||
if firstname:
|
if firstname:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user