Commits

Andrew Godwin  committed 0542559

Fix from #320: return correct status code.

  • Participants
  • Parent commits 94a9f98
  • Branches 0.7

Comments (0)

Files changed (1)

File south/management/commands/migrate.py

                     skip = skip,
                 )
                 if result is False:
-                    return
+                    sys.exit(1) # Migration failed, so the command fails.
 
 
 def list_migrations(apps):