mirror of
https://github.com/django/django.git
synced 2025-10-27 07:36:08 +00:00
remove a bunch of unnescesarry iterkeys() calls
This commit is contained in:
@@ -207,7 +207,7 @@ class Collector(object):
|
||||
def sort(self):
|
||||
sorted_models = []
|
||||
concrete_models = set()
|
||||
models = list(six.iterkeys(self.data))
|
||||
models = list(self.data)
|
||||
while len(sorted_models) < len(models):
|
||||
found = False
|
||||
for model in models:
|
||||
|
||||
Reference in New Issue
Block a user