diff options
author | Jon Dufresne <jon.dufresne@gmail.com> | 2017-05-27 16:08:46 -0700 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2017-05-27 19:08:46 -0400 |
commit | 21046e77734278cea871dce922220bf29aa5b7b4 (patch) | |
tree | e0820850a3d058c35307916da793668f7e5c48b3 /tests/user_commands | |
parent | 2a5708a304cf337dbf556e2bd87a930079f8f766 (diff) | |
download | django-21046e77734278cea871dce922220bf29aa5b7b4.tar.gz |
Fixed #28249 -- Removed unnecessary dict.keys() calls.
iter(dict) is equivalent to iter(dict.keys()).
Diffstat (limited to 'tests/user_commands')
-rw-r--r-- | tests/user_commands/management/commands/dance.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/user_commands/management/commands/dance.py b/tests/user_commands/management/commands/dance.py index b86ba6c622..81d6ec9c26 100644 --- a/tests/user_commands/management/commands/dance.py +++ b/tests/user_commands/management/commands/dance.py @@ -18,6 +18,6 @@ class Command(BaseCommand): raise CommandError() if options['verbosity'] > 0: self.stdout.write("I don't feel like dancing %s." % options["style"]) - self.stdout.write(','.join(options.keys())) + self.stdout.write(','.join(options)) if options['integer'] > 0: self.stdout.write("You passed %d as a positional argument." % options['integer']) |