diff --git a/ChangeLog b/ChangeLog index d173ba561..5cf9efaef 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2004-03-11 Alex Roitman + * src/plugins/WriteFtree.py: Typo. + * src/plugins/WriteGedcom.py: Typo. + 2004-03-10 Alex Roitman * 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. diff --git a/src/plugins/WriteFtree.py b/src/plugins/WriteFtree.py index bdf53062c..0525b57b0 100644 --- a/src/plugins/WriteFtree.py +++ b/src/plugins/WriteFtree.py @@ -212,7 +212,7 @@ class FtreeWriter: death = p.get_death().get_date_object() if restrict: - alive = p.probably_alive(db) + alive = p.probably_alive(self.db) else: alive = 0 diff --git a/src/plugins/WriteGedcom.py b/src/plugins/WriteGedcom.py index 0dbd7835e..5d26423b5 100644 --- a/src/plugins/WriteGedcom.py +++ b/src/plugins/WriteGedcom.py @@ -705,12 +705,12 @@ class GedcomWriter: person = family.get_father_id() if person != None and self.plist.has_key(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() if person != None and self.plist.has_key(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 ): self.write_ord("SLGS",family.get_lds_sealing(),1,const.lds_ssealing) @@ -788,7 +788,7 @@ class GedcomWriter: def write_person(self,person): 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) primaryname = person.get_primary_name () if restricted and self.living: