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

svn: r3485
This commit is contained in:
Alex Roitman 2004-08-23 16:05:22 +00:00
parent 7e419c532f
commit 992ad8a02a
2 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,6 @@
2004-08-23 Alex Roitman <shura@alex.neuro.umn.edu>
* src/RelLib.py: (probably_alive): Fixed typo (bug #1014223).
2004-08-23 Tim Waugh <twaugh@redhat.com> 2004-08-23 Tim Waugh <twaugh@redhat.com>
* install-sh: Removed this generated file. * install-sh: Removed this generated file.

View File

@ -608,7 +608,7 @@ class Person(PrimaryObject,SourceNote):
sp_birth_handle = spouse.get_birth_handle() sp_birth_handle = spouse.get_birth_handle()
sp_death_handle = spouse.get_death_handle() sp_death_handle = spouse.get_death_handle()
if sp_birth_handle: if sp_birth_handle:
spouse_birth = db.find_event_from_handle(sp_birth_handle) spouse_birth = db.get_event_from_handle(sp_birth_handle)
if spouse_birth.get_date() != "": if spouse_birth.get_date() != "":
d = SingleDate (spouse_birth.get_date_object().get_start_date()) d = SingleDate (spouse_birth.get_date_object().get_start_date())
d.set_year (d.get_year() + max_age_difference) d.set_year (d.get_year() + max_age_difference)
@ -616,7 +616,7 @@ class Person(PrimaryObject,SourceNote):
return False return False
if sp_death_handle: if sp_death_handle:
spouse_death = db.find_event_from_handle(sp_death_handle) spouse_death = db.get_event_from_handle(sp_death_handle)
if spouse_death.get_date() != "": if spouse_death.get_date() != "":
d = SingleDate (spouse_birth.get_date_object().get_start_date()) d = SingleDate (spouse_birth.get_date_object().get_start_date())
d.set_year (d.get_year() - min_generation) d.set_year (d.get_year() - min_generation)