* src/RelLib.py: (probably_alive): Fixed typo (bug #1014223).
svn: r3485
This commit is contained in:
parent
7e419c532f
commit
992ad8a02a
@ -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>
|
||||
* install-sh: Removed this generated file.
|
||||
|
||||
|
@ -608,7 +608,7 @@ class Person(PrimaryObject,SourceNote):
|
||||
sp_birth_handle = spouse.get_birth_handle()
|
||||
sp_death_handle = spouse.get_death_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() != "":
|
||||
d = SingleDate (spouse_birth.get_date_object().get_start_date())
|
||||
d.set_year (d.get_year() + max_age_difference)
|
||||
@ -616,7 +616,7 @@ class Person(PrimaryObject,SourceNote):
|
||||
return False
|
||||
|
||||
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() != "":
|
||||
d = SingleDate (spouse_birth.get_date_object().get_start_date())
|
||||
d.set_year (d.get_year() - min_generation)
|
||||
|
Loading…
Reference in New Issue
Block a user