write.py: After the bsddb version has been upgraded, if the schema versions also needs to be upgraded, output a separate dialog asking the user whether he wants to upgrade the schema. (As requested by Benny).

svn: r21888
This commit is contained in:
Tim G L Lyons 2013-04-05 10:54:35 +00:00
parent b72ddb7f47
commit 60b57a996e

View File

@ -634,7 +634,7 @@ class DbBsddb(DbBsddbRead, DbWriteBase, UpdateCallback):
if self.need_schema_upgrade():
_LOG.debug("Schema upgrade required from %s to %s" %
(self.metadata.get(b'version', default=0), _DBVERSION))
if force_schema_upgrade == True or force_bsddb_upgrade == True:
if force_schema_upgrade == True:
self.gramps_upgrade(callback)
else:
self.__close_early()