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/dbshell.py | |
| parent | 2956e2f5e3f63d279f5dae2a995265364d3e6db1 (diff) | |
Fixed E128 flake8 warnings in django/.
Diffstat (limited to 'django/core/management/commands/dbshell.py')
| -rw-r--r-- | django/core/management/commands/dbshell.py | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/django/core/management/commands/dbshell.py b/django/core/management/commands/dbshell.py index d2ff81f7ca..eda1ff68c9 100644 --- a/django/core/management/commands/dbshell.py +++ b/django/core/management/commands/dbshell.py @@ -3,15 +3,18 @@ from django.db import DEFAULT_DB_ALIAS, connections class Command(BaseCommand): - help = ("Runs the command-line client for specified database, or the " - "default database if none is provided.") + help = ( + "Runs the command-line client for specified database, or the " + "default database if none is provided." + ) requires_system_checks = False def add_arguments(self, parser): - parser.add_argument('--database', action='store', dest='database', - default=DEFAULT_DB_ALIAS, help='Nominates a database onto which to ' - 'open a shell. Defaults to the "default" database.') + parser.add_argument( + '--database', action='store', dest='database', default=DEFAULT_DB_ALIAS, + help='Nominates a database onto which to open a shell. Defaults to the "default" database.', + ) def handle(self, **options): connection = connections[options['database']] @@ -22,5 +25,7 @@ class Command(BaseCommand): # isn't installed. There's a possibility OSError would be raised # for some other reason, in which case this error message would be # inaccurate. Still, this message catches the common case. - raise CommandError('You appear not to have the %r program installed or on your path.' % - connection.client.executable_name) + raise CommandError( + 'You appear not to have the %r program installed or on your path.' % + connection.client.executable_name + ) |
