From 1f1fc901d95766edcca45d68201edcd68b8c59a6 Mon Sep 17 00:00:00 2001 From: Michiel Nauta Date: Sun, 1 Jan 2012 22:13:46 +0000 Subject: [PATCH] 1995: DB remains locked if it is incompatible svn: r18680 --- src/gen/db/write.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gen/db/write.py b/src/gen/db/write.py index 8907cbb2e..e8c96f315 100644 --- a/src/gen/db/write.py +++ b/src/gen/db/write.py @@ -538,6 +538,7 @@ class DbBsddb(DbBsddbRead, DbWriteBase, UpdateCallback): self.gramps_upgrade(callback) else: self.__close_early() + clear_lock_file(name) raise DbUpgradeRequiredError() if callback: