use new get_base_db method of db
svn: r15466
This commit is contained in:
parent
a69337b6c6
commit
0a73ecc10e
@ -818,10 +818,7 @@ def probably_alive(person, db,
|
|||||||
"""
|
"""
|
||||||
# First, find the real database to use all people
|
# First, find the real database to use all people
|
||||||
# for determining alive status:
|
# for determining alive status:
|
||||||
from gen.proxy.proxybase import ProxyDbBase
|
basedb = db.get_base_db()
|
||||||
basedb = db
|
|
||||||
while isinstance(basedb, ProxyDbBase):
|
|
||||||
basedb = basedb.db
|
|
||||||
# Now, we create a wrapper for doing work:
|
# Now, we create a wrapper for doing work:
|
||||||
pb = ProbablyAlive(basedb, max_sib_age_diff,
|
pb = ProbablyAlive(basedb, max_sib_age_diff,
|
||||||
max_age_prob_alive,
|
max_age_prob_alive,
|
||||||
|
Loading…
Reference in New Issue
Block a user