summaryrefslogtreecommitdiff
path: root/tests/user_commands
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2014-06-14 10:20:42 -0400
committerAlex Gaynor <alex.gaynor@gmail.com>2014-06-14 10:20:42 -0400
commit2ca5fc55b0a0b18ce4f060ee999ef355b5ceb0a3 (patch)
tree35a023a00b119db855c6ba7f389ce3a1f1c08129 /tests/user_commands
parentf17b24e407385eb18651bf023a187347aa9c1f75 (diff)
Fixed several flake8 errors
Diffstat (limited to 'tests/user_commands')
-rw-r--r--tests/user_commands/management/commands/optparse_cmd.py4
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"])