Fix to incorrect svn merge in commit 22218 see 0006686: Wrong bsddb upgrade message given

svn: r22237
This commit is contained in:
Tim G L Lyons 2013-05-10 09:25:01 +00:00
parent 457d1b38a8
commit 1ac29c6e76

View File

@ -163,9 +163,9 @@ class CLIDbLoader(object):
self._errordialog( _("Cannot open database"), str(msg))
except gen.db.exceptions.BsddbUpgradeRequiredError as msg:
self.dbstate.no_database()
except gen.db.exceptions.BsddbDowngradeRequiredError, msg:
self.dbstate.no_database()
self._errordialog( _("Cannot open database"), str(msg))
except gen.db.exceptions.BsddbDowngradeRequiredError as msg:
self.dbstate.no_database()
self._errordialog( _("Cannot open database"), str(msg))
except gen.db.exceptions.BsddbDowngradeError as msg:
self.dbstate.no_database()