Mercurial > hg > Feedworm
comparison backend/couchdb/CouchDbBackend.py @ 213:524cbf9e413c
use correct TODO tags so they show up in the tasks view in Eclipse
author | dirk |
---|---|
date | Wed, 28 Nov 2012 01:53:29 +0100 |
parents | 4cb22b47b659 |
children | b0de75d57e78 |
comparison
equal
deleted
inserted
replaced
212:1262b1168f1f | 213:524cbf9e413c |
---|---|
102 for index in indices: | 102 for index in indices: |
103 feedEntry = self.entriesForSelectedFeed()[index] | 103 feedEntry = self.entriesForSelectedFeed()[index] |
104 feedEntry.markRead(self.database) | 104 feedEntry.markRead(self.database) |
105 | 105 |
106 def updateAllFeeds(self): | 106 def updateAllFeeds(self): |
107 # TODO use a view instead of iterating all feeds | 107 # TODO: use a view instead of iterating all feeds |
108 allFeeds = Feed.all(self.database) | 108 allFeeds = Feed.all(self.database) |
109 for feed in allFeeds: | 109 for feed in allFeeds: |
110 if feed.needsUpdate(): | 110 if feed.needsUpdate(): |
111 FeedUpdater(self.database, self.preferences()).update(feed) | 111 FeedUpdater(self.database, self.preferences()).update(feed) |
112 | 112 |