From 200b4f30154e54dcf6ba0269bf95cd7f0054bec5 Mon Sep 17 00:00:00 2001 From: Michiel Nauta Date: Wed, 23 Mar 2011 20:29:47 +0000 Subject: [PATCH] 4770: Unexpected error exporting a database to Gramps Xml format svn: r16899 --- src/plugins/export/ExportXml.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/export/ExportXml.py b/src/plugins/export/ExportXml.py index 4124dff9e..8594f0e36 100644 --- a/src/plugins/export/ExportXml.py +++ b/src/plugins/export/ExportXml.py @@ -155,8 +155,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)