Fixes for DictionaryDB and InMemoryDB
This commit is contained in:
parent
f0e27af884
commit
880588e635
@ -1056,7 +1056,8 @@ class DictionaryDb(DbGeneric):
|
||||
force_schema_upgrade=False,
|
||||
force_bsddb_upgrade=False,
|
||||
force_bsddb_downgrade=False,
|
||||
force_python_upgrade=False):
|
||||
force_python_upgrade=False,
|
||||
update=True):
|
||||
super().load(directory,
|
||||
callback,
|
||||
mode,
|
||||
|
@ -22,6 +22,7 @@ from dbapi import DBAPI
|
||||
from dbapi_support.sqlite import Sqlite
|
||||
from gramps.gen.db.generic import DbGeneric, DBBACKEND, LOG
|
||||
import os
|
||||
import glob
|
||||
|
||||
class InMemoryDB(DBAPI):
|
||||
"""
|
||||
@ -46,7 +47,8 @@ class InMemoryDB(DBAPI):
|
||||
force_schema_upgrade=False,
|
||||
force_bsddb_upgrade=False,
|
||||
force_bsddb_downgrade=False,
|
||||
force_python_upgrade=False):
|
||||
force_python_upgrade=False,
|
||||
update=True):
|
||||
DbGeneric.load(self, directory,
|
||||
callback,
|
||||
mode,
|
||||
|
Loading…
Reference in New Issue
Block a user