mirror of
				https://github.com/django/django.git
				synced 2025-10-26 07:06:08 +00:00 
			
		
		
		
	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
This commit is contained in:
		| @@ -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('.') | ||||
|   | ||||
		Reference in New Issue
	
	Block a user