8727: Gramps -L leaves all BSDDB type trees locked

This commit is contained in:
Doug Blank 2015-07-18 11:19:07 -04:00
parent 1488420292
commit b6999bb56f

View File

@ -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({