From 8e5fde6f3832e1948cde7a84b113f44b099791bc Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Sun, 22 Aug 2004 16:33:31 +0000 Subject: [PATCH] (GedcomWriter.fid): Use GRAMPS ID not DB handle. svn: r3477 --- ChangeLog | 1 + src/WriteGedcom.py | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 3c10e7488..699b5c796 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,7 @@ * src/WriteGedcom.py (GedcomWriter.export_data): Write individuals out in GRAMPS ID order. + (GedcomWriter.fid): Use GRAMPS ID not DB handle. * src/ReadXML.py (GrampsParser.start_object): Set GRAMPS ID. diff --git a/src/WriteGedcom.py b/src/WriteGedcom.py index ce5f6b77b..7afc47f17 100644 --- a/src/WriteGedcom.py +++ b/src/WriteGedcom.py @@ -1253,7 +1253,8 @@ class GedcomWriter: self.write_long_text("NOTE",level+1,self.cnvtxt(ref.get_comments())) def fid(self,id): - return id + family = self.db.get_family_from_handle (id) + return family.get_gramps_id () def prefn(self,person): match = _get_int.search(person.get_gramps_id())