Kaydet (Commit) 7fc5a3b2 authored tarafından Russell Keith-Magee's avatar Russell Keith-Magee

Finished a sentence that didn't get committed in [5923].


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5924 bcc190cf-cafb-0310-a4f2-bffc1f526a37
üst 6ad0a018
...@@ -22,7 +22,7 @@ def load_command_class(module, name): ...@@ -22,7 +22,7 @@ def load_command_class(module, name):
""" """
Given a command name, returns the Command class instance. Raises Given a command name, returns the Command class instance. Raises
Raises ImportError if a command module doesn't exist, or AttributeError Raises ImportError if a command module doesn't exist, or AttributeError
if a command module doesn't include . if a command module doesn't contain a Command instance.
""" """
# Let any errors propogate. # Let any errors propogate.
return getattr(__import__('%s.management.commands.%s' % (module, name), {}, {}, ['Command']), 'Command')() return getattr(__import__('%s.management.commands.%s' % (module, name), {}, {}, ['Command']), 'Command')()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment