librarian bump with proper merge
authorMarcin Koziej <marcin.koziej@nowoczesnapolska.org.pl>
Mon, 30 Jan 2012 09:33:58 +0000 (10:33 +0100)
committerMarcin Koziej <marcin.koziej@nowoczesnapolska.org.pl>
Mon, 30 Jan 2012 09:33:58 +0000 (10:33 +0100)
apps/search/index.py
lib/librarian

index 0f69d07..6d97047 100644 (file)
@@ -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)
 
index 30d14a3..5f2702e 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 30d14a324bb0e8a99c54cbceea01476e59748b33
+Subproject commit 5f2702eda7a1b36f4d29658b5468b6b78745218c