From b6999bb56f525b11cd74b0be43e381e8658c0b7e Mon Sep 17 00:00:00 2001
From: Doug Blank <dblank@cs.brynmawr.edu>
Date: Sat, 18 Jul 2015 11:19:07 -0400
Subject: [PATCH] 8727: Gramps -L leaves all BSDDB type trees locked

---
 gramps/cli/clidbman.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gramps/cli/clidbman.py b/gramps/cli/clidbman.py
index 5bb87e632..8bdce7bdb 100644
--- a/gramps/cli/clidbman.py
+++ b/gramps/cli/clidbman.py
@@ -159,6 +159,7 @@ class CLIDbManager(object):
             database = self.dbstate.make_database(dbid)
             database.load(dirpath, None)
             retval = database.get_summary()
+            database.close()
         except Exception as msg:
             retval = {"Unavailable": str(msg)[:74] + "..."}
         retval.update({