Skip to content

Commit

Permalink
Uses a SortedDict for memoization of staticfiles finder instances to …
Browse files Browse the repository at this point in the history
…preserve order during tests.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@15371 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
jezdez committed Jan 30, 2011
1 parent aaa76ca commit 9e81e18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django/contrib/staticfiles/finders.py
Expand Up @@ -11,7 +11,7 @@
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):
Expand Down

0 comments on commit 9e81e18

Please sign in to comment.