Permalink
Browse files

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
  • Loading branch information...
1 parent 9c55bbd commit 0b7f5def7fed7c3579604dfe34027c2927d6eace @freakboy3742 freakboy3742 committed Aug 17, 2007
Showing with 2 additions and 2 deletions.
  1. +1 −1 django/core/management/commands/loaddata.py
  2. +1 −1 django/core/management/commands/test.py
@@ -20,7 +20,7 @@ def handle(self, *fixture_labels, **options):
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 @@ def handle(self, *test_labels, **options):
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('.')

0 comments on commit 0b7f5de

Please sign in to comment.