diff backend/couchdb/CouchDbBackend.py @ 236:c5250fcc3881

remove a workaround along with its wrong explanation
author Dirk Olmes <dirk@xanthippe.ping.de>
date Mon, 26 Jan 2015 13:43:38 +0100
parents e34c53a3e407
children 1b98925facf6
line wrap: on
line diff
--- a/backend/couchdb/CouchDbBackend.py	Mon Jan 26 13:38:55 2015 +0100
+++ b/backend/couchdb/CouchDbBackend.py	Mon Jan 26 13:43:38 2015 +0100
@@ -49,10 +49,7 @@
         feedsWithUnreadEntries = []
         for row in viewResults:
             feed = Feed.load(self.database, row["key"])
-            # see https://issues.apache.org/jira/browse/COUCHDB-1279
-            # it's possible that the view references documents that have already been deleted
-            if feed is not None:
-                feedsWithUnreadEntries.append(feed)
+            feedsWithUnreadEntries.append(feed)
         return feedsWithUnreadEntries
 
     def _retrieveEntriesForSelectedFeed(self, hideReadEntries):