X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/bd1c5da61455bed0223f065bf3fa247a118e70c3..f3fc3aba5b7a4fe8ba5f594a6e807eb96677674f:/apps/search/index.py diff --git a/apps/search/index.py b/apps/search/index.py index 0f69d0725..6d97047a0 100644 --- a/apps/search/index.py +++ b/apps/search/index.py @@ -323,7 +323,6 @@ class Index(BaseIndex): # get published date source = book_info.source_name match = self.published_date_re.search(source) - print("published date is %s %s" % (match, match is not None and match.groups())) if match is not None: fields["published_date"] = Field("published_date", str(match.groups()[0]), Field.Store.YES, Field.Index.NOT_ANALYZED) @@ -617,7 +616,6 @@ class SearchResult(object): pd = stored.get("published_date") if pd is None: - print "published_date is none for book %d" % self.book_id pd = 0 self.published_date = int(pd)