1995: DB remains locked if it is incompatible

svn: r18680
This commit is contained in:
Michiel Nauta 2012-01-01 22:13:46 +00:00
parent 24976ab0a6
commit 1f1fc901d9

View File

@ -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: