From: Marcin Koziej Date: Wed, 29 Aug 2012 14:08:15 +0000 (+0200) Subject: remove print mesgs X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/531ad4bc4cab82f8c5dc3569c3835328df892a83?ds=sidebyside;hp=281a6f613c78ffd1fa81951db829a5551fd2e42d remove print mesgs --- 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: