From f8bc668576b354a25d1f5fbd0319dd8dc2906bb3 Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Wed, 19 Dec 2001 21:44:11 +0000 Subject: [PATCH] removed .closed check - does not apply to gzip interface svn: r640 --- gramps/src/WriteXML.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/gramps/src/WriteXML.py b/gramps/src/WriteXML.py index 385c6cbce..9e059f7af 100644 --- a/gramps/src/WriteXML.py +++ b/gramps/src/WriteXML.py @@ -487,9 +487,6 @@ def exportData(database, filename, callback): GnomeErrorDialog(_("Failure writing %s, original file restored") % filename) shutil.copy(filename + ".bak", filename) - if not g.closed: - g.close() - def write_xml_data(database, g, callback, sp): global strip_photo