diff options
Diffstat (limited to 'tests/user_commands')
| -rw-r--r-- | tests/user_commands/management/commands/optparse_cmd.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/user_commands/management/commands/optparse_cmd.py b/tests/user_commands/management/commands/optparse_cmd.py index 0c241fcb14..b92e90ee31 100644 --- a/tests/user_commands/management/commands/optparse_cmd.py +++ b/tests/user_commands/management/commands/optparse_cmd.py @@ -1,6 +1,6 @@ from optparse import make_option -from django.core.management.base import BaseCommand, CommandError +from django.core.management.base import BaseCommand class Command(BaseCommand): @@ -13,7 +13,7 @@ class Command(BaseCommand): ) def handle(self, *args, **options): - example = options["example"] + options["example"] # BaseCommand default option is available options['verbosity'] self.stdout.write("All right, let's dance %s." % options["style"]) |
