mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Fixed #28249 -- Removed unnecessary dict.keys() calls.
iter(dict) is equivalent to iter(dict.keys()).
This commit is contained in:
parent
2a5708a304
commit
21046e7773
43 changed files with 84 additions and 85 deletions
|
@ -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'])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue