Mercurial > hg > Feedworm
diff 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 |
line wrap: on
line diff
--- a/backend/couchdb/CouchDbBackend.py Mon Aug 29 03:08:05 2011 +0200 +++ b/backend/couchdb/CouchDbBackend.py Mon Aug 29 03:11:47 2011 +0200 @@ -70,7 +70,9 @@ FeedUpdater.createFeed(url, self.database) def updateFeed(self, feed, changes): - raise Exception("not yet implemented") + for key in changes.keys(): + feed[key] = changes[key] + feed.store(self.database) def deleteFeed(self, feed): raise Exception("not yet implemented")