* src/plugins/WriteFtree.py: Typo.

* src/plugins/WriteGedcom.py: Typo.


svn: r3005
This commit is contained in:
Alex Roitman 2004-03-11 23:14:55 +00:00
parent bedb9c6417
commit 04bb7a785e
3 changed files with 8 additions and 4 deletions

View File

@ -1,3 +1,7 @@
2004-03-11 Alex Roitman <shura@alex.neuro.umn.edu>
* src/plugins/WriteFtree.py: Typo.
* src/plugins/WriteGedcom.py: Typo.
2004-03-10 Alex Roitman <shura@alex.neuro.umn.edu> 2004-03-10 Alex Roitman <shura@alex.neuro.umn.edu>
* src/plugins/WebPage.py: Clean up mini tree. Add connecting lines. * src/plugins/WebPage.py: Clean up mini tree. Add connecting lines.
Switch from list of 2^gen strings to a dict with only used entries. Switch from list of 2^gen strings to a dict with only used entries.

View File

@ -212,7 +212,7 @@ class FtreeWriter:
death = p.get_death().get_date_object() death = p.get_death().get_date_object()
if restrict: if restrict:
alive = p.probably_alive(db) alive = p.probably_alive(self.db)
else: else:
alive = 0 alive = 0

View File

@ -705,12 +705,12 @@ class GedcomWriter:
person = family.get_father_id() person = family.get_father_id()
if person != None and self.plist.has_key(person.get_id()): if person != None and self.plist.has_key(person.get_id()):
self.writeln("1 HUSB @%s@" % self.pid(person.get_id())) self.writeln("1 HUSB @%s@" % self.pid(person.get_id()))
father_alive = person.probably_alive(db) father_alive = person.probably_alive(self.db)
person = family.get_mother_id() person = family.get_mother_id()
if person != None and self.plist.has_key(person.get_id()): if person != None and self.plist.has_key(person.get_id()):
self.writeln("1 WIFE @%s@" % self.pid(person.get_id())) self.writeln("1 WIFE @%s@" % self.pid(person.get_id()))
mother_alive = person.probably_alive(db) mother_alive = person.probably_alive(self.db)
if not self.restrict or ( not father_alive and not mother_alive ): if not self.restrict or ( not father_alive and not mother_alive ):
self.write_ord("SLGS",family.get_lds_sealing(),1,const.lds_ssealing) self.write_ord("SLGS",family.get_lds_sealing(),1,const.lds_ssealing)
@ -788,7 +788,7 @@ class GedcomWriter:
def write_person(self,person): def write_person(self,person):
self.writeln("0 @%s@ INDI" % self.pid(person.get_id())) self.writeln("0 @%s@ INDI" % self.pid(person.get_id()))
restricted = self.restrict and person.probably_alive (db) restricted = self.restrict and person.probably_alive (self.db)
self.prefn(person) self.prefn(person)
primaryname = person.get_primary_name () primaryname = person.get_primary_name ()
if restricted and self.living: if restricted and self.living: