From 59d4cfa35ea5abc061042c5affc1f0cabeeca3c6 Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Mon, 23 May 2005 20:31:56 +0000 Subject: [PATCH] Added additional BSDDB exception case svn: r4658 --- gramps2/src/gramps_main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gramps2/src/gramps_main.py b/gramps2/src/gramps_main.py index 11e71b99b..bb88bfc13 100755 --- a/gramps2/src/gramps_main.py +++ b/gramps2/src/gramps_main.py @@ -1294,7 +1294,7 @@ class Gramps(GrampsDBCallback.GrampsDBCallback): except ( IOError, OSError ), msg: ErrorDialog(_('Cannot open database'),str(msg)) return 0 - except db.DBAccessError, msg: + except (db.DBAccessError,DBRunRecoveryError), msg: ErrorDialog(_('Cannot open database'), _('%s could not be opened.' % filename) + '\n' + msg[1]) return 0