changeset 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 e284a37df1d9
files backend/couchdb/CouchDbBackend.py
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
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")