Fix exception message in DbLoader.py.
svn: r8426
This commit is contained in:
parent
7dd5d94322
commit
d678156e25
@ -1,3 +1,6 @@
|
|||||||
|
2007-04-27 Brian Matherly <brian@gramps-project.org>
|
||||||
|
* src/DbLoader.py: Fix exception message.
|
||||||
|
|
||||||
2007-04-22 Don Allingham <don@gramps-project.org>
|
2007-04-22 Don Allingham <don@gramps-project.org>
|
||||||
* configure.in: bump to full release of 2.2.7
|
* configure.in: bump to full release of 2.2.7
|
||||||
* src/const.py.in: fix 2007 in copyright
|
* src/const.py.in: fix 2007 in copyright
|
||||||
|
@ -462,10 +462,9 @@ class DbLoader:
|
|||||||
"problem persists, create a new database, import "
|
"problem persists, create a new database, import "
|
||||||
"from a backup database, and report the problem to "
|
"from a backup database, and report the problem to "
|
||||||
"gramps-bugs@lists.sourceforge.net."))
|
"gramps-bugs@lists.sourceforge.net."))
|
||||||
except:
|
except Exception, msg:
|
||||||
QuestionDialog.ErrorDialog(
|
QuestionDialog.ErrorDialog(
|
||||||
_("Could not open file: %s") % filename,
|
_("Could not open file: %s") % filename, msg )
|
||||||
str(msg[1]))
|
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def open_saved_as(self, filename, filetype):
|
def open_saved_as(self, filename, filetype):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user