Fixed #14250 - FileBasedCacheTests.test_cull test failure

This patch makes the cull behaviour (which files deleted and how many
deleted) deterministic.



git-svn-id: http://code.djangoproject.com/svn/django/trunk@13705 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Luke Plant 2010-09-10 13:03:02 +00:00
parent 303bdc85a7
commit 92b91d6e7b
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ class CacheClass(BaseCache):
return
try:
filelist = os.listdir(self._dir)
filelist = sorted(os.listdir(self._dir))
except (IOError, OSError):
return