*** 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,11 +718,8 @@ 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():
if family in self.flist:
self.g.write("1 FAMC @%s@\n" % self.fid(family[0].getId())) self.g.write("1 FAMC @%s@\n" % self.fid(family[0].getId()))
if self.adopt == ADOPT_PEDI: if self.adopt == ADOPT_PEDI:
if string.lower(family[1]) == "adopted": if string.lower(family[1]) == "adopted":
@ -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"))