Mercurial > hg > Feedworm
diff backend/AbstractFeedUpdater.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 | 6ea813cfac33 |
children | 86f828096aaf |
line wrap: on
line diff
--- a/backend/AbstractFeedUpdater.py Wed Aug 24 11:04:09 2011 +0200 +++ b/backend/AbstractFeedUpdater.py Wed Aug 24 11:54:06 2011 +0200 @@ -21,7 +21,7 @@ for entry in result.entries: self._normalize(entry) self._processEntry(entry) - self.feed.incrementNextUpdateDate() + self._incrementFeedUpdateDate() def _retrieveFeed(self): result = feedparser.parse(self.feed.rss_url) @@ -49,6 +49,9 @@ def _processEntry(self, entry): raise Exception("_processEntry is abstract, subclasses must override") + def _incrementFeedUpdateDate(self): + raise Exception("_incrementNextUpdateDate is abstract, subclasses must override") + class FeedUpdateException(Exception): pass