X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/57e98a5807465f9494e5006e16860f16abbf4136..ffb9b20e6675a618694fb160c72df285f2666be8:/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)