diff backend/couchdb/CouchDbBackend.py @ 144:74217db92993

updating feeds on the couchdb backend works now
author Dirk Olmes <dirk@xanthippe.ping.de>
date Wed, 24 Aug 2011 11:54:06 +0200
parents 2cd30af937fa
children 8ec20377bcb0
line wrap: on
line diff
--- a/backend/couchdb/CouchDbBackend.py	Wed Aug 24 11:04:09 2011 +0200
+++ b/backend/couchdb/CouchDbBackend.py	Wed Aug 24 11:54:06 2011 +0200
@@ -1,4 +1,5 @@
 
+from FeedUpdater import FeedUpdater
 from Preferences import Preferences
 from backend.couchdb.Feed import Feed
 import couchdb
@@ -44,7 +45,7 @@
         allFeeds = Feed.all(self.database)
         for feed in allFeeds:
             if feed.needsUpdate():
-                print("feed needs update " + str(feed))
+                FeedUpdater(feed, self.database).update()
 
     def expireFeedEntries(self):
         print("Expiring feeds is not yet implemented")