From 5ce490e3fa7e965093a3a8bf0e728e8d8ac6da6a Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Tue, 31 May 2005 03:21:10 +0000 Subject: [PATCH] * src/plugins/Checkpoint.py: Start of a checkpoint tool svn: r4738 --- gramps2/ChangeLog | 3 + gramps2/src/WriteXML.py | 5 -- gramps2/src/plugins/Checkpoint.py | 143 ++++++++++++++++++++++++++++++ 3 files changed, 146 insertions(+), 5 deletions(-) create mode 100644 gramps2/src/plugins/Checkpoint.py diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 03adfca40..852516f9a 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,6 @@ +2005-05-30 Don Allingham + * src/plugins/Checkpoint.py: Start of a checkpoint tool + 2005-05-30 Martin Hawlisch * src/ArgHandler.py (handle_args) Exit if opening a file failed * src/Errors.py: New exception type "FileVersionError" diff --git a/gramps2/src/WriteXML.py b/gramps2/src/WriteXML.py index 9a973dacb..2330fba6c 100644 --- a/gramps2/src/WriteXML.py +++ b/gramps2/src/WriteXML.py @@ -827,11 +827,6 @@ class XmlWriter: path = obj.get_path() if self.strip_photos: path = os.path.basename(path) - else: - l = len(self.fileroot) - if len(path) >= l: - if self.fileroot == path[0:l]: - path = path[l+1:] self.g.write('