Simon Law  committed 7a04063

Change return values for get_dependencies()

  • Participants
  • Parent commits f4033a7

Comments (0)

Files changed (1)

File south/migration/

         migration_before_here =
         if migration_before_here:
             backwards = migration_before_here.backwards_plan
-    return backwards, forwards
+    return forwards, backwards
 def get_direction(target, histories, migrations, verbosity):
     # Get the forwards and reverse dependencies for this target
-    backwards, forwards = get_dependencies(target, migrations)
+    forwards, backwards = get_dependencies(target, migrations)
     # Get the list of currently applied migrations from the db
     applied = currently_applied(histories)
     # Is the whole forward branch applied?