From 9dd9ff738a1d2babe08cdc5c38f30fdce4bdfab8 Mon Sep 17 00:00:00 2001 From: Michiel Nauta Date: Wed, 23 Mar 2011 20:29:19 +0000 Subject: [PATCH] 4770: Unexpected error exporting a database to Gramps Xml format svn: r16898 --- 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 1216ea912..56c45e86d 100644 --- a/src/plugins/export/ExportXml.py +++ b/src/plugins/export/ExportXml.py @@ -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)