From acde3be3007656111e7e2dfe7dff5b190474c1c4 Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Mon, 23 Aug 2004 16:05:22 +0000 Subject: [PATCH] * src/RelLib.py: (probably_alive): Fixed typo (bug #1014223). svn: r3485 --- ChangeLog | 3 +++ src/RelLib.py | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index b1a94be16..f8b3b4905 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2004-08-23 Alex Roitman + * src/RelLib.py: (probably_alive): Fixed typo (bug #1014223). + 2004-08-23 Tim Waugh * install-sh: Removed this generated file. diff --git a/src/RelLib.py b/src/RelLib.py index 79026c6ce..08a191d42 100644 --- a/src/RelLib.py +++ b/src/RelLib.py @@ -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)