From b39785bd5986e3409ce61ba4e39dc0030af7af07 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 16 Feb 2013 12:13:23 +0530 Subject: [PATCH] ... --- src/calibre/ebooks/oeb/transforms/split.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/calibre/ebooks/oeb/transforms/split.py b/src/calibre/ebooks/oeb/transforms/split.py index b9555eac59..c905b24063 100644 --- a/src/calibre/ebooks/oeb/transforms/split.py +++ b/src/calibre/ebooks/oeb/transforms/split.py @@ -294,10 +294,7 @@ class FlowSplitter(object): def do_split(self, tree, split_point, before): ''' - Split ``tree`` into a *before* and *after* tree at ``split_point``, - preserving tag structure, but not duplicating any text. - All tags that have had their text and tail - removed have the attribute ``calibre_split`` set to 1. + Split ``tree`` into a *before* and *after* tree at ``split_point``. :param before: If True tree is split before split_point, otherwise after split_point :return: before_tree, after_tree @@ -475,8 +472,7 @@ class FlowSplitter(object): def commit(self): ''' - Commit all changes caused by the split. This removes the previously - introduced ``calibre_split`` attribute and calculates an *anchor_map* for + Commit all changes caused by the split. Calculates an *anchor_map* for all anchors in the original tree. Internal links are re-directed. The original file is deleted and the split files are saved. '''