Django

Code

Changeset 7037

Show
Ignore:
Timestamp:
01/27/08 21:53:50 (1 year ago)
Author:
gwilson
Message:

Fixed #6419 -- Fixed verbosity level checks in loaddata command that were raised to unobtainable levels in [6883].

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/django/core/management/commands/loaddata.py

    r6936 r7037  
    6060                    formats = [] 
    6161 
    62             if verbosity > 2: 
     62            if verbosity >= 2: 
    6363                if formats: 
    6464                    print "Loading '%s' fixtures..." % fixture_name 
     
    110110                            fixture.close() 
    111111                    except: 
    112                         if verbosity > 2: 
     112                        if verbosity >= 2: 
    113113                            print "No %s fixture '%s' in %s." % \ 
    114114                                (format, fixture_name, humanize(fixture_dir)) 
     
    126126 
    127127        if count[0] == 0: 
    128             if verbosity > 2: 
     128            if verbosity >= 2: 
    129129                print "No fixtures found." 
    130130        else: