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/flush.py | |
| parent | 2956e2f5e3f63d279f5dae2a995265364d3e6db1 (diff) | |
Fixed E128 flake8 warnings in django/.
Diffstat (limited to 'django/core/management/commands/flush.py')
| -rw-r--r-- | django/core/management/commands/flush.py | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/django/core/management/commands/flush.py b/django/core/management/commands/flush.py index 3820f2cce8..68226355b8 100644 --- a/django/core/management/commands/flush.py +++ b/django/core/management/commands/flush.py @@ -13,16 +13,21 @@ from django.utils.six.moves import input class Command(BaseCommand): - help = ('Removes ALL DATA from the database, including data added during ' - 'migrations. Does not achieve a "fresh install" state.') + help = ( + 'Removes ALL DATA from the database, including data added during ' + 'migrations. Does not achieve a "fresh install" state.' + ) def add_arguments(self, parser): - parser.add_argument('--noinput', '--no-input', + parser.add_argument( + '--noinput', '--no-input', action='store_false', dest='interactive', default=True, - help='Tells Django to NOT prompt the user for input of any kind.') - parser.add_argument('--database', action='store', dest='database', - default=DEFAULT_DB_ALIAS, - help='Nominates a database to flush. Defaults to the "default" database.') + help='Tells Django to NOT prompt the user for input of any kind.', + ) + parser.add_argument( + '--database', action='store', dest='database', default=DEFAULT_DB_ALIAS, + help='Nominates a database to flush. Defaults to the "default" database.', + ) def handle(self, **options): database = options['database'] |
