Permalink
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...
1 parent 2a07299 commit 9b721531399d57886ba2e86db1296b481145776d @jacobian jacobian committed Sep 26, 2005
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:

0 comments on commit 9b72153

Please sign in to comment.