Commit 6e1c46da authored by Luke Plant's avatar Luke Plant
Browse files

[1.2.X] Fixed #14250 - FileBasedCacheTests.test_cull test failure

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

Backport of [13705] from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13706 bcc190cf-cafb-0310-a4f2-bffc1f526a37
parent 6ea90256
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -116,7 +116,7 @@ class CacheClass(BaseCache):
            return

        try:
            filelist = os.listdir(self._dir)
            filelist = sorted(os.listdir(self._dir))
        except (IOError, OSError):
            return