comparison backend/couchdb/CouchDbBackend.py @ 162:ab2b26412b77

setting a feed's properties via the GUI works now
author dirk
date Mon, 29 Aug 2011 03:11:47 +0200
parents 2940e74c9663
children 3eeda7cec39b
comparison
equal deleted inserted replaced
161:2940e74c9663 162:ab2b26412b77
68 68
69 def createFeed(self, url): 69 def createFeed(self, url):
70 FeedUpdater.createFeed(url, self.database) 70 FeedUpdater.createFeed(url, self.database)
71 71
72 def updateFeed(self, feed, changes): 72 def updateFeed(self, feed, changes):
73 raise Exception("not yet implemented") 73 for key in changes.keys():
74 feed[key] = changes[key]
75 feed.store(self.database)
74 76
75 def deleteFeed(self, feed): 77 def deleteFeed(self, feed):
76 raise Exception("not yet implemented") 78 raise Exception("not yet implemented")
77 79
78 def entriesForFeed(self, feed, hideReadEntries): 80 def entriesForFeed(self, feed, hideReadEntries):