mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	Fixed #761; thanks, Eugene
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1143 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
		| @@ -336,7 +336,7 @@ class _FileCache(_SimpleCache): | ||||
|         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] | ||||
|   | ||||
		Reference in New Issue
	
	Block a user