# HG changeset patch # User dirk # Date 1328055969 -3600 # Node ID 50b578588405233fdc6ec40013a815c67f0cfd67 # Parent a122d42bfe725100e6fc15a58e33221a9e23e003 method ordering diff -r a122d42bfe72 -r 50b578588405 backend/couchdb/CouchDbBackend.py --- 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]