2006-08-22 Don Allingham <don@gramps-project.org>

* src/GrampsDb/_WriteGedcom.py: apply event type string conversion 
	fix to family types



svn: r7242
This commit is contained in:
Don Allingham 2006-08-23 03:14:06 +00:00
parent 2cda62c603
commit eba0cad3ab
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2006-08-22 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_WriteGedcom.py: apply event type string conversion
fix to family types
2006-08-22 Brian Matherly <brian@gramps-project.org>
* src/plugins/NarrativeWeb.py: show url when no description (#0000319)

View File

@ -669,7 +669,7 @@ class GedcomWriter(UpdateCallback):
self.writeln("2 TYPE %s" % event.get_description())
else:
self.writeln("1 EVEN")
the_type = str(etype).strip()
the_type = str(event.get_type())
if the_type:
self.writeln("2 TYPE %s" % self.cnvtxt(the_type))