diff options
| author | django-bot <ops@djangoproject.com> | 2022-02-03 20:24:19 +0100 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2022-02-07 20:37:05 +0100 |
| commit | 9c19aff7c7561e3a82978a272ecdaad40dda5c00 (patch) | |
| tree | f0506b668a013d0063e5fba3dbf4863b466713ba /tests/user_commands/management/commands/required_option.py | |
| parent | f68fa8b45dfac545cfc4111d4e52804c86db68d3 (diff) | |
Refs #33476 -- Reformatted code with Black.
Diffstat (limited to 'tests/user_commands/management/commands/required_option.py')
| -rw-r--r-- | tests/user_commands/management/commands/required_option.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/user_commands/management/commands/required_option.py b/tests/user_commands/management/commands/required_option.py index 3b30ed942e..da84702189 100644 --- a/tests/user_commands/management/commands/required_option.py +++ b/tests/user_commands/management/commands/required_option.py @@ -2,10 +2,9 @@ from django.core.management.base import BaseCommand class Command(BaseCommand): - def add_arguments(self, parser): - parser.add_argument('-n', '--need-me', required=True) - parser.add_argument('-t', '--need-me-too', required=True, dest='needme2') + parser.add_argument("-n", "--need-me", required=True) + parser.add_argument("-t", "--need-me-too", required=True, dest="needme2") def handle(self, *args, **options): - self.stdout.write(','.join(options)) + self.stdout.write(",".join(options)) |
