From 639fe6a87a5eabe9bd20ea4c117fc6b365a6e654 Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Tue, 28 Mar 2006 18:29:15 +0000 Subject: [PATCH] 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 --- django/core/management.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/django/core/management.py b/django/core/management.py index 0e7554b654..67b566ba08 100644 --- a/django/core/management.py +++ b/django/core/management.py @@ -374,7 +374,7 @@ get_sql_indexes.args = APP_ARGS def get_sql_all(app): "Returns a list of CREATE TABLE SQL, initial-data inserts, and CREATE INDEX SQL for the given module." - return get_sql_create(app) + get_sql_initial_data(app) + get_sql_indexes(app) + return get_sql_create(app) + get_sql_initial_data(app) + get_sql_indexes(app) get_sql_all.help_doc = "Prints the CREATE TABLE, initial-data and CREATE INDEX SQL statements for the given model module name(s)." get_sql_all.args = APP_ARGS @@ -1018,7 +1018,7 @@ def get_usage(action_mapping): Returns a usage string. Doesn't do the options stuff, because optparse takes care of that. """ - usage = ["usage: %prog action [options]\nactions:"] + usage = ["%prog action [options]\nactions:"] available_actions = action_mapping.keys() available_actions.sort() for a in available_actions: