4770: Unexpected error exporting a database to Gramps Xml format

svn: r16898
This commit is contained in:
Michiel Nauta 2011-03-23 20:29:19 +00:00
parent ee9014cd99
commit 9dd9ff738a

View File

@ -162,8 +162,8 @@ class GrampsXmlWriter(UpdateCallback):
g = open(filename,"w")
except IOError,msg:
LOG.warn(str(msg))
raise DbWriteFailure((_('Failure writing %s') % filename,
str(msg)))
raise DbWriteFailure(_('Failure writing %s') % filename,
str(msg))
return 0
self.g = codecs.getwriter("utf8")(g)