Fixed misleading comment from [6402].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6403 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
901c3708fb
commit
87d71277b8
|
@ -168,7 +168,7 @@ class ManagementUtility(object):
|
||||||
try:
|
try:
|
||||||
app_name = get_commands(self.user_commands, self.project_directory)[subcommand]
|
app_name = get_commands(self.user_commands, self.project_directory)[subcommand]
|
||||||
if isinstance(app_name, BaseCommand):
|
if isinstance(app_name, BaseCommand):
|
||||||
# If the app_name is already loaded, use it directly.
|
# If the command is already loaded, use it directly.
|
||||||
klass = app_name
|
klass = app_name
|
||||||
else:
|
else:
|
||||||
klass = load_command_class(app_name, subcommand)
|
klass = load_command_class(app_name, subcommand)
|
||||||
|
|
Loading…
Reference in New Issue