bad print left behind
authorMarcin Koziej <marcin.koziej@nowoczesnapolska.org.pl>
Tue, 28 Aug 2012 10:53:33 +0000 (12:53 +0200)
committerMarcin Koziej <marcin.koziej@nowoczesnapolska.org.pl>
Tue, 28 Aug 2012 10:53:33 +0000 (12:53 +0200)
migdal/views.py

index 594444d..1ece4cc 100644 (file)
@@ -80,7 +80,6 @@ class SearchPublishedView(SearchView):
         results = super(SearchPublishedView, self).get_results()
         lang_code = get_language()
         def is_published(entity):
         results = super(SearchPublishedView, self).get_results()
         lang_code = get_language()
         def is_published(entity):
-            print "is published? %s, %s" % (entity.published_pl, entity.published_en) 
             if isinstance(entity, Entry):
                 return getattr(entity, "published_%s" % lang_code) == True
             else:
             if isinstance(entity, Entry):
                 return getattr(entity, "published_%s" % lang_code) == True
             else: