From: Marcin Koziej Date: Mon, 30 Jan 2012 09:37:42 +0000 (+0100) Subject: Merge branch 'pretty' of github.com:fnp/wolnelektury into pretty X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/fe3cc2a284f1aa7457b0ec9491203aae100681a6?hp=0517f19e5fa00611a5b197108e38569462286553 Merge branch 'pretty' of github.com:fnp/wolnelektury into pretty Conflicts: lib/librarian --- 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) diff --git a/lib/librarian b/lib/librarian index 41ccf1537..5f2702eda 160000 --- a/lib/librarian +++ b/lib/librarian @@ -1 +1 @@ -Subproject commit 41ccf15377397ad6a032d6729d116fd8c1fd6c29 +Subproject commit 5f2702eda7a1b36f4d29658b5468b6b78745218c