Skip to content

Commit

Permalink
Fixed #5566 -- Fixed typo from [6042]. Thanks to thomas@gumption.com …
Browse files Browse the repository at this point in the history
…and mir for bringing attention to this.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@6404 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
freakboy3742 committed Sep 22, 2007
1 parent 87d7127 commit 872f06d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django/core/management/__init__.py
Expand Up @@ -117,7 +117,7 @@ def call_command(name, *args, **options):
# If the command 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, name)
except KeyError: except KeyError:
raise CommandError, "Unknown command: %r" % name raise CommandError, "Unknown command: %r" % name
return klass.execute(*args, **options) return klass.execute(*args, **options)
Expand Down

0 comments on commit 872f06d

Please sign in to comment.