* src/WriteGedcom.py: fix adopted relationship generation

svn: r4515
This commit is contained in:
Don Allingham
2005-05-09 03:55:09 +00:00
parent 0ec4626803
commit aa56da2c05
4 changed files with 19 additions and 8 deletions

View File

@ -1247,6 +1247,9 @@ class Gramps(GrampsDBCallback.GrampsDBCallback):
ErrorDialog(_('Cannot open database'),
_('The database file specified could not be opened.'))
return 0
except ( IOError, OSError ), msg:
ErrorDialog(_('Cannot open database'),str(msg))
return 0
except db.DBAccessError, msg:
ErrorDialog(_('Cannot open database'),
_('%s could not be opened.' % filename) + '\n' + msg[1])