From 531ad4bc4cab82f8c5dc3569c3835328df892a83 Mon Sep 17 00:00:00 2001 From: Marcin Koziej Date: Wed, 29 Aug 2012 16:08:15 +0200 Subject: [PATCH 1/1] remove print mesgs --- apps/search/index.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/apps/search/index.py b/apps/search/index.py index da54fe7f0..9f832e590 100644 --- a/apps/search/index.py +++ b/apps/search/index.py @@ -250,7 +250,6 @@ class Index(SolrIndex): book_doc[n] = f book_doc['uid'] = "book%s" % book_doc['book_id'] - print "ADD 2 %s" % book_doc self.index.add(book_doc) del book_doc book_fields = { @@ -462,7 +461,6 @@ class Index(SolrIndex): doc = add_part(snippets, header_index=position, header_type=header.tag, text=u''.join(footnote), is_footnote=True) - print "ADD 3 %s" % doc self.index.add(doc) #print "@ footnote text: %s" % footnote footnote = [] @@ -498,7 +496,6 @@ class Index(SolrIndex): text=fix_format(frag['text']), themes=frag['themes']) #print '@ FRAG %s' % frag['content'] - print "ADD 4 %s" % doc self.index.add(doc) # Collect content. @@ -513,7 +510,6 @@ class Index(SolrIndex): header_type=header.tag, text=fix_format(content)) #print '@ CONTENT: %s' % fix_format(content) - print "ADD 5 %s" % doc self.index.add(doc) finally: -- 2.20.1