Kaydet (Commit) 0b7f5def authored tarafından Russell Keith-Magee's avatar Russell Keith-Magee

Added fix for verbosity handling in loaddata and test commands.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@5913 bcc190cf-cafb-0310-a4f2-bffc1f526a37
üst 9c55bbde
......@@ -20,7 +20,7 @@ class Command(BaseCommand):
self.style = no_style()
verbosity = options.get('verbosity', 1)
verbosity = int(options.get('verbosity', 1))
# Keep a count of the installed objects and fixtures
count = [0, 0]
......
......@@ -11,7 +11,7 @@ class Command(BaseCommand):
from django.conf import settings
from django.db.models import get_app, get_apps
verbosity = options.get('verbosity', 1)
verbosity = int(options.get('verbosity', 1))
interactive = options.get('interactive', True)
test_path = settings.TEST_RUNNER.split('.')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment