From 482c15e16ec8b7ce373c6048684b7565548fb62e Mon Sep 17 00:00:00 2001 From: ldolse Date: Fri, 7 Jan 2011 02:34:52 +0800 Subject: [PATCH] removed debug statements --- src/calibre/ebooks/conversion/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/calibre/ebooks/conversion/utils.py b/src/calibre/ebooks/conversion/utils.py index ec83d36cfc..2e1ee5852e 100644 --- a/src/calibre/ebooks/conversion/utils.py +++ b/src/calibre/ebooks/conversion/utils.py @@ -117,7 +117,7 @@ class PreProcessor(object): self.min_chapters = 1 if wordcount > 7000: self.min_chapters = wordcount / 7000 - print "minimum chapters required are: "+str(self.min_chapters) + #print "minimum chapters required are: "+str(self.min_chapters) heading = re.compile(']*>', re.IGNORECASE) self.html_preprocess_sections = len(heading.findall(html)) self.log("found " + unicode(self.html_preprocess_sections) + " pre-existing headings") @@ -180,7 +180,7 @@ class PreProcessor(object): words_per_chptr = wordcount if words_per_chptr > 0 and self.html_preprocess_sections > 0: words_per_chptr = wordcount / self.html_preprocess_sections - print "Total wordcount is: "+ str(wordcount)+", Average words per section is: "+str(words_per_chptr)+", Marked up "+str(self.html_preprocess_sections)+" chapters" + self.log("Total wordcount is: "+ str(wordcount)+", Average words per section is: "+str(words_per_chptr)+", Marked up "+str(self.html_preprocess_sections)+" chapters") return html