From 60b57a996e818e7c4d76a8357b86e1d854b9a9d4 Mon Sep 17 00:00:00 2001 From: Tim G L Lyons Date: Fri, 5 Apr 2013 10:54:35 +0000 Subject: [PATCH] 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 --- gramps/gen/db/write.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gramps/gen/db/write.py b/gramps/gen/db/write.py index 8d4523ede..b0f27b0b2 100644 --- a/gramps/gen/db/write.py +++ b/gramps/gen/db/write.py @@ -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()