Mercurial > hg > Feedworm
diff backend/couchdb/CouchDbBackend.py @ 201:50b578588405
method ordering
author | dirk |
---|---|
date | Wed, 01 Feb 2012 01:26:09 +0100 |
parents | 7157bfd3f4d4 |
children | 4cb22b47b659 |
line wrap: on
line diff
--- a/backend/couchdb/CouchDbBackend.py Fri Jan 27 09:46:40 2012 +0100 +++ b/backend/couchdb/CouchDbBackend.py Wed Feb 01 01:26:09 2012 +0100 @@ -108,8 +108,8 @@ FeedUpdater(self.database, self.preferences()).update(feed) def expireFeedEntries(self): + expireDate = self._calculateExpireDate() logger = logging.getLogger("expiry") - expireDate = self._calculateExpireDate() logger.info("expiring entries older than " + str(expireDate)) for entry in FeedEntry.getReadFeedEntriesOlderThan(expireDate, self.database): del self.database[entry.id]