diff backend/couchdb/CouchDbBackend.py @ 233:e34c53a3e407

fixes from eric's style check
author Dirk Olmes <dirk@xanthippe.ping.de>
date Thu, 25 Sep 2014 17:26:34 +0200
parents 699d8f1cebd4
children c5250fcc3881
line wrap: on
line diff
--- a/backend/couchdb/CouchDbBackend.py	Thu Sep 25 17:10:40 2014 +0200
+++ b/backend/couchdb/CouchDbBackend.py	Thu Sep 25 17:26:34 2014 +0200
@@ -58,7 +58,7 @@
     def _retrieveEntriesForSelectedFeed(self, hideReadEntries):
         viewResults = FeedEntry.entriesForFeed(self.selectedFeed, self.database)
         if hideReadEntries:
-            filterFunc = lambda feedEntry: feedEntry.read == False
+            filterFunc = lambda feedEntry: feedEntry.read is False
             viewResults = filter(filterFunc, viewResults)
         return viewResults
 
@@ -76,7 +76,6 @@
     def toggleSelectedFeedEntryRead(self):
         self.selectedFeedEntry.toggleRead(self.database)
 
-
     def createFeed(self, url):
         feed = Feed.create(url)
         feed.store(self.database)