mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	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
This commit is contained in:
		| @@ -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')() | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user