Commits

Klaas van Schelven committed 99b4cdd

'checked' is probably only checked in the context of last

so the performance fix should not 'fix' too much

  • Participants
  • Parent commits 31db57b

Comments (0)

Files changed (1)

File south/migration/__init__.py

 def inner_problem_check(problems, done, verbosity):
     "Takes a set of possible problems and gets the actual issues out of it."
     result = []
-    checked = set([])
     for last, migration in problems:
+        checked = set([])
         # 'Last' is the last applied migration. Step back from it until we
         # either find nothing wrong, or we find something.
         to_check = list(last.dependencies)