Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Quick bug fix to [699] - fixes #515.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@701 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 9b721531399d57886ba2e86db1296b481145776d 1 parent 2a07299
@jacobian jacobian authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  django/core/cache.py
View
1  django/core/cache.py
@@ -317,6 +317,7 @@ def set(self, key, value, timeout=None):
filelist = os.listdir(self._dir)
except (IOError, OSError):
self._createdir()
+ filelist = []
if len(filelist) > self._max_entries:
self._cull(filelist)
try:
Please sign in to comment.
Something went wrong with that request. Please try again.