mirror of
https://github.com/django/django.git
synced 2025-10-26 15:16:09 +00:00
Fixed #20989 -- Removed useless explicit list comprehensions.
This commit is contained in:
@@ -234,8 +234,8 @@ class Collector(object):
|
||||
found = True
|
||||
if not found:
|
||||
return
|
||||
self.data = OrderedDict([(model, self.data[model])
|
||||
for model in sorted_models])
|
||||
self.data = OrderedDict((model, self.data[model])
|
||||
for model in sorted_models)
|
||||
|
||||
def delete(self):
|
||||
# sort instance collections
|
||||
|
||||
Reference in New Issue
Block a user