1. vandersonmota
  2. south

Commits

Klaas van Schelven  committed cc253de

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

problem introduced in #15a4eadfdea8

  • Participants
  • Parent commits 15a4ead
  • Branches default

Comments (0)

Files changed (1)

File south/migration/utils.py

View file
  • Ignore whitespace
     return _dfs(start, get_children, [])
 
 def depends(start, get_children):
-    return reversed(dfs(start, get_children))
+    return list(reversed(dfs(start, get_children)))