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

svn: r19123
This commit is contained in:
Jérôme Rapinat 2012-03-23 16:11:20 +00:00
parent 997a700397
commit da79d145e2

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 )