* src/WriteGrdb.py: Copy metadata.

svn: r4001
This commit is contained in:
Alex Roitman 2005-01-31 01:20:13 +00:00
parent 29a10a3bf8
commit 0db65bd17d
2 changed files with 5 additions and 0 deletions

View File

@ -11,6 +11,8 @@
* src/gramps_main.py: Support for save as. * src/gramps_main.py: Support for save as.
* src/DbPrompter.py: Support for save as. * src/DbPrompter.py: Support for save as.
* src/WriteGrdb.py: Copy metadata.
2005-01-29 Eero Tamminen <eerot@sf> 2005-01-29 Eero Tamminen <eerot@sf>
* src/plugins/StatisticsChart.py: * src/plugins/StatisticsChart.py:
- Added support for Don's Pie charts + color styles for it - Added support for Don's Pie charts + color styles for it

View File

@ -78,5 +78,8 @@ def exportData(database, filename, person=None, callback=None):
for handle in database.event_map.keys(): for handle in database.event_map.keys():
new_database.event_map.put(str(handle), new_database.event_map.put(str(handle),
database.event_map.get(str(handle))) database.event_map.get(str(handle)))
for handle in database.metadata.keys():
new_database.metadata.put(str(handle),
database.metadata.get(str(handle)))
new_database.close() new_database.close()