From 872f06d770413d771e11791dda84abb15c987884 Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Sat, 22 Sep 2007 00:27:07 +0000 Subject: [PATCH] Fixed #5566 -- Fixed typo from [6042]. Thanks to thomas@gumption.com and mir for bringing attention to this. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6404 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/core/management/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/core/management/__init__.py b/django/core/management/__init__.py index eb7751b541..e15dfccdf2 100644 --- a/django/core/management/__init__.py +++ b/django/core/management/__init__.py @@ -117,7 +117,7 @@ def call_command(name, *args, **options): # If the command is already loaded, use it directly. klass = app_name else: - klass = load_command_class(app_name, subcommand) + klass = load_command_class(app_name, name) except KeyError: raise CommandError, "Unknown command: %r" % name return klass.execute(*args, **options)