2006-10-31 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_WriteGedcom.py (write_families): Properly write custom attr type. svn: r7524
This commit is contained in:
parent
8b22982a3f
commit
2df2d25b5a
@ -1,3 +1,7 @@
|
|||||||
|
2006-10-31 Alex Roitman <shura@gramps-project.org>
|
||||||
|
* src/GrampsDb/_WriteGedcom.py (write_families): Properly write
|
||||||
|
custom attr type.
|
||||||
|
|
||||||
2006-10-30 Don Allingham <don@gramps-project.org>
|
2006-10-30 Don Allingham <don@gramps-project.org>
|
||||||
* src/DataViews/_PersonView.py: prevent updates on person list if not
|
* src/DataViews/_PersonView.py: prevent updates on person list if not
|
||||||
visible (person-added)
|
visible (person-added)
|
||||||
|
@ -707,11 +707,13 @@ class GedcomWriter(UpdateCallback):
|
|||||||
self.writeln("1 %s %s" % (name,value))
|
self.writeln("1 %s %s" % (name,value))
|
||||||
continue
|
continue
|
||||||
else:
|
else:
|
||||||
|
the_name = str(attr.get_type())
|
||||||
self.writeln("1 EVEN")
|
self.writeln("1 EVEN")
|
||||||
if value:
|
if value:
|
||||||
self.writeln("2 TYPE %s %s" %(self.cnvtxt(name),value))
|
self.writeln("2 TYPE %s %s" %(self.cnvtxt(the_name),
|
||||||
|
value))
|
||||||
else:
|
else:
|
||||||
self.writeln("2 TYPE %s" % self.cnvtxt(name))
|
self.writeln("2 TYPE %s" % self.cnvtxt(the_name))
|
||||||
|
|
||||||
if attr.get_note():
|
if attr.get_note():
|
||||||
self.write_long_text("NOTE",2,self.cnvtxt(attr.get_note()))
|
self.write_long_text("NOTE",2,self.cnvtxt(attr.get_note()))
|
||||||
|
Loading…
Reference in New Issue
Block a user