Skip to content
Browse files

Fixed #761; thanks, Eugene

git-svn-id: http://code.djangoproject.com/svn/django/trunk@1143 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent f85cd32 commit 31d18380f9dd7b66dfd89857f116a4995990e315 @jacobian jacobian committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/core/cache.py
View
2 django/core/cache.py
@@ -336,7 +336,7 @@ def has_key(self, key):
return os.path.exists(self._key_to_file(key))
def _cull(self, filelist):
- if self.cull_frequency == 0:
+ if self._cull_frequency == 0:
doomed = filelist
else:
doomed = [k for (i, k) in enumerate(filelist) if i % self._cull_frequency == 0]

0 comments on commit 31d1838

Please sign in to comment.
Something went wrong with that request. Please try again.