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: r21886
This commit is contained in:
parent
225f6e545f
commit
b63524b99b
@ -593,7 +593,7 @@ class DbBsddb(DbBsddbRead, DbWriteBase, UpdateCallback):
|
||||
if self.need_schema_upgrade():
|
||||
_LOG.debug("Schema upgrade required from %s to %s" %
|
||||
(self.metadata.get('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()
|
||||
|
Loading…
Reference in New Issue
Block a user