Uses a SortedDict for memoization of staticfiles finder instances to preserve order during tests.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@15371 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Jannis Leidel 2011-01-30 17:23:36 +00:00
parent aaa76ca1b3
commit 9e81e18929
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ from django.utils._os import safe_join
from django.contrib.staticfiles import utils from django.contrib.staticfiles import utils
from django.contrib.staticfiles.storage import AppStaticStorage from django.contrib.staticfiles.storage import AppStaticStorage
_finders = {} _finders = SortedDict()
class BaseFinder(object): class BaseFinder(object):