5081: check and use unfiltered persons on private __is_living (by MD Nauta)

svn: r19124
This commit is contained in:
Jérôme Rapinat
2012-03-23 16:13:40 +00:00
parent 612774f11b
commit 88d9b23ac8

View File

@@ -204,7 +204,9 @@ class LivingProxyDb(ProxyDbBase):
Returns True if the person is considered living. Returns True if the person is considered living.
Returns False if the person is not considered living. Returns False if the person is not considered living.
""" """
return probably_alive( person, person_handle = person.get_handle()
unfil_person = self.get_unfiltered_person(person_handle)
return probably_alive( unfil_person,
self.db, self.db,
self.current_date, self.current_date,
self.years_after_death ) self.years_after_death )