(GedcomWriter.fid): Use GRAMPS ID not DB handle.

svn: r3477
This commit is contained in:
Tim Waugh 2004-08-22 16:33:31 +00:00
parent 8afdb56aee
commit 8e5fde6f38
2 changed files with 3 additions and 1 deletions

View File

@ -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.

View File

@ -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())