use new get_base_db method of db

svn: r15466
This commit is contained in:
Doug Blank 2010-05-23 15:45:41 +00:00
parent a69337b6c6
commit 0a73ecc10e

View File

@ -818,10 +818,7 @@ def probably_alive(person, db,
"""
# First, find the real database to use all people
# for determining alive status:
from gen.proxy.proxybase import ProxyDbBase
basedb = db
while isinstance(basedb, ProxyDbBase):
basedb = basedb.db
basedb = db.get_base_db()
# Now, we create a wrapper for doing work:
pb = ProbablyAlive(basedb, max_sib_age_diff,
max_age_prob_alive,