Commits

Klaas van Schelven committed cc253de

depends() must return a list (not simply: any iterator)

problem introduced in #15a4eadfdea8

  • Participants
  • Parent commits 15a4ead

Comments (0)

Files changed (1)

File south/migration/utils.py

     return _dfs(start, get_children, [])
 
 def depends(start, get_children):
-    return reversed(dfs(start, get_children))
+    return list(reversed(dfs(start, get_children)))