diff options
| author | Tim Graham <timograham@gmail.com> | 2016-03-28 18:33:29 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-04-08 09:51:06 -0400 |
| commit | df8d8d4292684d6ffa7474f1e201aed486f02b53 (patch) | |
| tree | c661bf9b33de5288afe4f63347a2a9c768ef98eb /django/core/management/commands/sqlmigrate.py | |
| parent | 2956e2f5e3f63d279f5dae2a995265364d3e6db1 (diff) | |
Fixed E128 flake8 warnings in django/.
Diffstat (limited to 'django/core/management/commands/sqlmigrate.py')
| -rw-r--r-- | django/core/management/commands/sqlmigrate.py | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/django/core/management/commands/sqlmigrate.py b/django/core/management/commands/sqlmigrate.py index b858b2b805..5047d900c1 100644 --- a/django/core/management/commands/sqlmigrate.py +++ b/django/core/management/commands/sqlmigrate.py @@ -13,15 +13,17 @@ class Command(BaseCommand): output_transaction = True def add_arguments(self, parser): - parser.add_argument('app_label', - help='App label of the application containing the migration.') - parser.add_argument('migration_name', - help='Migration name to print the SQL for.') - parser.add_argument('--database', default=DEFAULT_DB_ALIAS, - help='Nominates a database to create SQL for. Defaults to the ' - '"default" database.') - parser.add_argument('--backwards', action='store_true', dest='backwards', - default=False, help='Creates SQL to unapply the migration, rather than to apply it') + parser.add_argument('app_label', help='App label of the application containing the migration.') + parser.add_argument('migration_name', help='Migration name to print the SQL for.') + parser.add_argument( + '--database', default=DEFAULT_DB_ALIAS, + help='Nominates a database to create SQL for. Defaults to the "default" database.', + ) + parser.add_argument( + '--backwards', action='store_true', dest='backwards', + default=False, + help='Creates SQL to unapply the migration, rather than to apply it', + ) def execute(self, *args, **options): # sqlmigrate doesn't support coloring its output but we need to force |
