Fixed #19347 -- Removed unused variable definition in FetchFromCacheMiddleware

Thanks gregplaysguitar at gmail.com for the report.
This commit is contained in:
Claude Paroz 2012-12-01 13:52:26 +01:00
parent a0cd6dd11e
commit c0efbc7b53
1 changed files with 0 additions and 1 deletions

View File

@ -126,7 +126,6 @@ class FetchFromCacheMiddleware(object):
def __init__(self):
self.cache_timeout = settings.CACHE_MIDDLEWARE_SECONDS
self.key_prefix = settings.CACHE_MIDDLEWARE_KEY_PREFIX
self.cache_anonymous_only = getattr(settings, 'CACHE_MIDDLEWARE_ANONYMOUS_ONLY', False)
self.cache_alias = settings.CACHE_MIDDLEWARE_ALIAS
self.cache = get_cache(self.cache_alias)