Mercurial > hg > Feedworm
changeset 201:50b578588405
method ordering
author | dirk |
---|---|
date | Wed, 01 Feb 2012 01:26:09 +0100 |
parents | a122d42bfe72 |
children | 95445513cc34 |
files | backend/couchdb/CouchDbBackend.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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]