diff --git a/ChangeLog b/ChangeLog index 2e7ec87f2..d3d93b230 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2007-11-07 Jim Sack + * src/ArgHandler.py: typos in cl_export at L562,3 bug #1353 + triggered by exporting gedcom + 2007-11-07 Benny Malengier * src/AddMedia.py: fix issue #1350, relative path not working addmedia * src/Editors/_EditPerson.py: family rebuild callback error diff --git a/src/ArgHandler.py b/src/ArgHandler.py index 2a05ae03b..3e58fe26b 100644 --- a/src/ArgHandler.py +++ b/src/ArgHandler.py @@ -559,8 +559,8 @@ class ArgHandler: gw = GrampsDb.GedcomWriter(self.state.db,None,1,filename) ret = gw.export_data(filename) except: - print "Error exporting %s" % filename - sys._xit(msg) + msg = "Error exporting %s" % filename + sys.exit(msg) elif format == 'gramps-xml': filename = os.path.normpath(os.path.abspath(filename)) if filename: