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

svn: r22238
This commit is contained in:
Tim G L Lyons 2013-05-10 09:25:27 +00:00
parent cf04a983a4
commit ab15b85566

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()