* src/WriteGedcom.py (write_sources): Export data_map.

svn: r5911
This commit is contained in:
Alex Roitman 2006-02-09 21:10:56 +00:00
parent fde077914c
commit cca81f693f
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,6 @@
2006-02-09 Alex Roitman <shura@gramps-project.org>
* src/WriteGedcom.py (write_sources): Export data_map.
2006-02-09 Alexandre Prokoudine <alexandre.prokoudine@gmail.com>
* src/data/gramps.desktop: Improve Russian string, add Office
category.

View File

@ -775,6 +775,13 @@ class GedcomWriter:
if source.get_note():
self.write_long_text("NOTE",1,self.cnvtxt(source.get_note()))
datamap = source.get_data_map()
if datamap:
self.writeln("1 DATA")
for (key,value) in datamap.items():
self.write_long_text("NOTE",2,
self.cnvtxt('%s: %s' % (key,value)))
index = index + 1
self.write_change(1,source.get_change_time())