2004-08-22 Tim Waugh <twaugh@redhat.com>

* src/RelLib.py (probably_alive): Fixed typo (bug #1012347).


svn: r3468
This commit is contained in:
Tim Waugh 2004-08-22 09:15:26 +00:00
parent 74c1a75bfe
commit afbd8750aa
2 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,6 @@
2004-08-22 Tim Waugh <twaugh@redhat.com>
* src/RelLib.py (probably_alive): Fixed typo (bug #1012347).
2004-08-21 Alex Roitman <shura@alex.neuro.umn.edu> 2004-08-21 Alex Roitman <shura@alex.neuro.umn.edu>
* src/ReadGedcom.py (parse_record): Get objects from handles; * src/ReadGedcom.py (parse_record): Get objects from handles;
(handle_source): Refer to handle, not the object; (handle_source): Refer to handle, not the object;

View File

@ -623,7 +623,7 @@ class Person(PrimaryObject,SourceNote):
if spouse.death_handle: if spouse.death_handle:
spouse_death = db.get_event_from_handle(spouse.death_handle) spouse_death = db.get_event_from_handle(spouse.death_handle)
if spouse_death.get_date() != "": if spouse_death.get_date() != "":
d = SingleDate (spouse_birth.get_date_object(). d = SingleDate (spouse_death.get_date_object().
get_start_date()) get_start_date())
d.set_year (d.get_year() - min_generation) d.set_year (d.get_year() - min_generation)
if not not_too_old (d): if not not_too_old (d):