*** empty log message ***

svn: r987
This commit is contained in:
Don Allingham 2002-05-13 12:56:45 +00:00
parent 913a276b65
commit 10237d2d93

View File

@ -718,15 +718,12 @@ class GedcomWriter:
for srcref in addr.getSourceRefList(): for srcref in addr.getSourceRefList():
self.write_source_ref(3,srcref) self.write_source_ref(3,srcref)
family = person.getMainParents()
if family != None and family in self.flist:
self.g.write("1 FAMC @%s@\n" % self.fid(family.getId()))
for family in person.getParentList(): for family in person.getParentList():
self.g.write("1 FAMC @%s@\n" % self.fid(family[0].getId())) if family in self.flist:
if self.adopt == ADOPT_PEDI: self.g.write("1 FAMC @%s@\n" % self.fid(family[0].getId()))
if string.lower(family[1]) == "adopted": if self.adopt == ADOPT_PEDI:
self.g.write("2 PEDI Adopted\n") if string.lower(family[1]) == "adopted":
self.g.write("2 PEDI Adopted\n")
for family in person.getFamilyList(): for family in person.getFamilyList():
if family != None and family in self.flist: if family != None and family in self.flist:
@ -948,3 +945,6 @@ class GedcomWriter:
from Plugins import register_export from Plugins import register_export
register_export(writeData,_("Export to GEDCOM")) register_export(writeData,_("Export to GEDCOM"))