diff options
| author | Gary Wilson Jr <gary.wilson@gmail.com> | 2008-01-28 03:53:50 +0000 |
|---|---|---|
| committer | Gary Wilson Jr <gary.wilson@gmail.com> | 2008-01-28 03:53:50 +0000 |
| commit | ff707f502ca45924986af08bbd2397d78c6b43ce (patch) | |
| tree | c51b591040998b6607e64db28a575a5858d5aba5 | |
| parent | 3fd5b5d6a8a7caf284a7ca0d351b17d651b93955 (diff) | |
Fixed #6419 -- Fixed verbosity level checks in loaddata command that were raised to unobtainable levels in [6883].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7037 bcc190cf-cafb-0310-a4f2-bffc1f526a37
| -rw-r--r-- | django/core/management/commands/loaddata.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/django/core/management/commands/loaddata.py b/django/core/management/commands/loaddata.py index fb0325906d..e95be6b8d7 100644 --- a/django/core/management/commands/loaddata.py +++ b/django/core/management/commands/loaddata.py @@ -59,7 +59,7 @@ class Command(BaseCommand): else: formats = [] - if verbosity > 2: + if verbosity >= 2: if formats: print "Loading '%s' fixtures..." % fixture_name else: @@ -109,7 +109,7 @@ class Command(BaseCommand): return fixture.close() except: - if verbosity > 2: + if verbosity >= 2: print "No %s fixture '%s' in %s." % \ (format, fixture_name, humanize(fixture_dir)) @@ -125,7 +125,7 @@ class Command(BaseCommand): transaction.leave_transaction_management() if count[0] == 0: - if verbosity > 2: + if verbosity >= 2: print "No fixtures found." else: if verbosity > 0: |
