changeset 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 a34cb404cef3
children 5bbb1e707e56 6a3e3a0a7efe
files backend/couchdb/CouchDbBackend.py
diffstat 1 files changed, 1 insertions(+), 4 deletions(-) [+]
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):