From fb1c48860408023901c3b79b439e36ce23f405da Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Mon, 31 Jan 2005 01:20:13 +0000 Subject: [PATCH] * src/WriteGrdb.py: Copy metadata. svn: r4001 --- ChangeLog | 2 ++ src/WriteGrdb.py | 3 +++ 2 files changed, 5 insertions(+) diff --git a/ChangeLog b/ChangeLog index 800dea87b..1775a7959 100644 --- a/ChangeLog +++ b/ChangeLog @@ -11,6 +11,8 @@ * src/gramps_main.py: Support for save as. * src/DbPrompter.py: Support for save as. + * src/WriteGrdb.py: Copy metadata. + 2005-01-29 Eero Tamminen * src/plugins/StatisticsChart.py: - Added support for Don's Pie charts + color styles for it diff --git a/src/WriteGrdb.py b/src/WriteGrdb.py index 95f60c0d5..75829fdaa 100644 --- a/src/WriteGrdb.py +++ b/src/WriteGrdb.py @@ -78,5 +78,8 @@ def exportData(database, filename, person=None, callback=None): for handle in database.event_map.keys(): new_database.event_map.put(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()