mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Fixed #28249 -- Removed unnecessary dict.keys() calls.
iter(dict) is equivalent to iter(dict.keys()).
This commit is contained in:
@@ -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'])
|
||||
|
||||
Reference in New Issue
Block a user