1
0
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:
Alex Gaynor
2012-08-08 07:33:15 -07:00
parent 576ec12f8e
commit 4c97101b1f
25 changed files with 42 additions and 42 deletions

View File

@@ -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: