8727: Gramps -L leaves all BSDDB type trees locked
This commit is contained in:
parent
1488420292
commit
b6999bb56f
@ -159,6 +159,7 @@ class CLIDbManager(object):
|
|||||||
database = self.dbstate.make_database(dbid)
|
database = self.dbstate.make_database(dbid)
|
||||||
database.load(dirpath, None)
|
database.load(dirpath, None)
|
||||||
retval = database.get_summary()
|
retval = database.get_summary()
|
||||||
|
database.close()
|
||||||
except Exception as msg:
|
except Exception as msg:
|
||||||
retval = {"Unavailable": str(msg)[:74] + "..."}
|
retval = {"Unavailable": str(msg)[:74] + "..."}
|
||||||
retval.update({
|
retval.update({
|
||||||
|
Loading…
Reference in New Issue
Block a user