1
0
mirror of https://github.com/django/django.git synced 2025-07-05 10:19:20 +00:00

magic-removal: Removed unnecessary 'usage: ' string from django.core.management optionparser

git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2584 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2006-03-28 18:29:15 +00:00
parent afeda3d7bd
commit 639fe6a87a

View File

@ -1018,7 +1018,7 @@ def get_usage(action_mapping):
Returns a usage string. Doesn't do the options stuff, because optparse Returns a usage string. Doesn't do the options stuff, because optparse
takes care of that. takes care of that.
""" """
usage = ["usage: %prog action [options]\nactions:"] usage = ["%prog action [options]\nactions:"]
available_actions = action_mapping.keys() available_actions = action_mapping.keys()
available_actions.sort() available_actions.sort()
for a in available_actions: for a in available_actions: