From 5f413de9868958095fa183e6011c9b71b443f965 Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Sun, 22 Aug 2004 09:15:26 +0000 Subject: [PATCH] 2004-08-22 Tim Waugh * src/RelLib.py (probably_alive): Fixed typo (bug #1012347). svn: r3468 --- gramps2/ChangeLog | 3 +++ gramps2/src/RelLib.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index a08884eab..de3605efb 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,6 @@ +2004-08-22 Tim Waugh + * src/RelLib.py (probably_alive): Fixed typo (bug #1012347). + 2004-08-21 Alex Roitman * src/ReadGedcom.py (parse_record): Get objects from handles; (handle_source): Refer to handle, not the object; diff --git a/gramps2/src/RelLib.py b/gramps2/src/RelLib.py index 8d362a372..e101063c9 100644 --- a/gramps2/src/RelLib.py +++ b/gramps2/src/RelLib.py @@ -623,7 +623,7 @@ class Person(PrimaryObject,SourceNote): if spouse.death_handle: spouse_death = db.get_event_from_handle(spouse.death_handle) if spouse_death.get_date() != "": - d = SingleDate (spouse_birth.get_date_object(). + d = SingleDate (spouse_death.get_date_object(). get_start_date()) d.set_year (d.get_year() - min_generation) if not not_too_old (d):