(GedcomWriter.fid): Use GRAMPS ID not DB handle.
svn: r3477
This commit is contained in:
parent
8afdb56aee
commit
8e5fde6f38
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
* src/WriteGedcom.py (GedcomWriter.export_data): Write individuals
|
* src/WriteGedcom.py (GedcomWriter.export_data): Write individuals
|
||||||
out in GRAMPS ID order.
|
out in GRAMPS ID order.
|
||||||
|
(GedcomWriter.fid): Use GRAMPS ID not DB handle.
|
||||||
|
|
||||||
* src/ReadXML.py (GrampsParser.start_object): Set GRAMPS ID.
|
* src/ReadXML.py (GrampsParser.start_object): Set GRAMPS ID.
|
||||||
|
|
||||||
|
@ -1253,7 +1253,8 @@ class GedcomWriter:
|
|||||||
self.write_long_text("NOTE",level+1,self.cnvtxt(ref.get_comments()))
|
self.write_long_text("NOTE",level+1,self.cnvtxt(ref.get_comments()))
|
||||||
|
|
||||||
def fid(self,id):
|
def fid(self,id):
|
||||||
return id
|
family = self.db.get_family_from_handle (id)
|
||||||
|
return family.get_gramps_id ()
|
||||||
|
|
||||||
def prefn(self,person):
|
def prefn(self,person):
|
||||||
match = _get_int.search(person.get_gramps_id())
|
match = _get_int.search(person.get_gramps_id())
|
||||||
|
Loading…
Reference in New Issue
Block a user