diff --git a/ChangeLog b/ChangeLog index 3692ad088..2cacf725b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -8,6 +8,9 @@ * configure.in: Bump up the version. * src/docgen/PdfDoc.py (write_note): Attempt latin1 encoding. + * src/Exporter.py (native_export): Use real export. + * src/WriteGrdb.py (exportData): Provide default cl value. + 2005-02-21 Don Allingham * Release: Version 1.1.90 "Successful encyclopedia salesman" released. diff --git a/src/Exporter.py b/src/Exporter.py index ab7d10532..cadf684fc 100644 --- a/src/Exporter.py +++ b/src/Exporter.py @@ -367,7 +367,8 @@ class Exporter: options may be added. """ try: - shutil.copyfile(database.get_save_path(),filename) + import WriteGrdb + WriteGrdb.exportData(database,filename,person) return 1 except IOError, msg: QuestionDialog.ErrorDialog( _("Could not write file: %s") % filename, diff --git a/src/WriteGrdb.py b/src/WriteGrdb.py index 8fb32e027..98d1e472b 100644 --- a/src/WriteGrdb.py +++ b/src/WriteGrdb.py @@ -43,7 +43,7 @@ from QuestionDialog import ErrorDialog # Importing data into the currently open database. # #------------------------------------------------------------------------- -def exportData(database, filename, person=None, callback=None): +def exportData(database, filename, person=None, callback=None, cl=False): filename = os.path.normpath(filename)