diff options
| author | Russell Keith-Magee <russell@keith-magee.com> | 2007-08-17 00:11:56 +0000 |
|---|---|---|
| committer | Russell Keith-Magee <russell@keith-magee.com> | 2007-08-17 00:11:56 +0000 |
| commit | 0b7f5def7fed7c3579604dfe34027c2927d6eace (patch) | |
| tree | 4d8d0c074fc62a72c7ead1fb28643cccda29854c | |
| parent | 9c55bbdef7f1717aa17f7ca17cb2396522426310 (diff) | |
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
| -rw-r--r-- | django/core/management/commands/loaddata.py | 2 | ||||
| -rw-r--r-- | django/core/management/commands/test.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/django/core/management/commands/loaddata.py b/django/core/management/commands/loaddata.py index 028d075428..82b8968c61 100644 --- a/django/core/management/commands/loaddata.py +++ b/django/core/management/commands/loaddata.py @@ -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] diff --git a/django/core/management/commands/test.py b/django/core/management/commands/test.py index 865ed01e5f..8e27fd5606 100644 --- a/django/core/management/commands/test.py +++ b/django/core/management/commands/test.py @@ -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('.') |
