Wrong level (3 instead of 2) for NOTE and SOUR in address/place

svn: r1553
This commit is contained in:
Alex Roitman 2003-05-20 21:58:07 +00:00
parent f5c9c8f2cd
commit 9801107224

View File

@ -877,9 +877,9 @@ class GedcomWriter:
if text: if text:
self.g.write("2 PLAC %s\n" % string.replace(self.cnvtxt(text),'\r',' ')) self.g.write("2 PLAC %s\n" % string.replace(self.cnvtxt(text),'\r',' '))
if addr.getNote(): if addr.getNote():
self.write_long_text("NOTE",3,self.cnvtxt(addr.getNote())) self.write_long_text("NOTE",2,self.cnvtxt(addr.getNote()))
for srcref in addr.getSourceRefList(): for srcref in addr.getSourceRefList():
self.write_source_ref(3,srcref) self.write_source_ref(2,srcref)
for family in person.getParentList(): for family in person.getParentList():
if self.flist.has_key(family[0].getId()): if self.flist.has_key(family[0].getId()):