Commits

jdunck committed cc48b5c

Pass through verbosity, Issue a positive status if no failures.

Comments (0)

Files changed (1)

south/management/commands/migrationcheck.py

 
             old_config = runner.setup_databases()
             try:
-                call_command('migrate', app_label, noinput=True, verbosity=0)
+                call_command('migrate', app_label, noinput=True, verbosity=verbosity)
                 for model in loading.get_models(app):
                     dummy = model._default_manager.exists()
             except (KeyboardInterrupt, SystemExit):
                 runner.teardown_databases(old_config)
         if failures > 0:
             raise CommandError("Missing depends_on found in %s app(s)." % failures)
+        self.stderr.write("No missing depends_on found.\n")
 #
 #for each app:
 #    start with blank db.
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.