From 468be7a75cdea89f0e050b9f1d798f05af83d280 Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Fri, 16 Oct 2009 03:11:16 +0000 Subject: [PATCH] 3291: "Probably alive" misses persons definitely alive, part 2 svn: r13375 --- src/Utils.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Utils.py b/src/Utils.py index 61896e91d..156bda10d 100644 --- a/src/Utils.py +++ b/src/Utils.py @@ -506,7 +506,9 @@ def probably_alive(person, db, current_date=None, limit=0): # code above did not look at birth, only at other events birth_obj = birth.get_date_object() if birth_obj.get_valid(): - # only if this is a valid birth: + # only if this is a valid birth date: + if birth_obj.match(current_date,">>"): + return False if too_old(birth_obj, current_date.get_year()): return False if not_too_old(birth_obj, current_date.get_year()):