Skip to content
Browse files

Fixed #10381 -- Fixed some a machine-dependent test failure after r9921.

The patch is from Russell, but I'm applying it because I want my tests to pass
again (and he doesn't see the failure).

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 9b8c712 commit f5063914b3de442d73c6cade5acb33a47fbcfd72 @malcolmt malcolmt committed Mar 4, 2009
Showing with 3 additions and 2 deletions.
  1. +3 −2 django/core/management/commands/
5 django/core/management/commands/
@@ -1,6 +1,7 @@
from django.core.exceptions import ImproperlyConfigured
from import BaseCommand, CommandError
from django.core import serializers
+from django.utils.datastructures import SortedDict
from optparse import make_option
@@ -27,9 +28,9 @@ def handle(self, *app_labels, **options):
excluded_apps = [get_app(app_label) for app_label in exclude]
if len(app_labels) == 0:
- app_list = dict([(app, None) for app in get_apps() if app not in excluded_apps])
+ app_list = SortedDict([(app, None) for app in get_apps() if app not in excluded_apps])
- app_list = {}
+ app_list = SortedDict()
for label in app_labels:
app_label, model_label = label.split('.')

0 comments on commit f506391

Please sign in to comment.
Something went wrong with that request. Please try again.