Django

Code

Changeset 6241

Show
Ignore:
Timestamp:
09/14/07 17:49:01 (1 year ago)
Author:
adrian
Message:

Negligible formatting change to [6211]

Files:

Legend:

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

    r6211 r6241  
    5353                e.add(opts, '"%s": prepopulate_from should be a list or tuple.' % f.name) 
    5454            if f.choices: 
    55                 if isinstance(f.choices, basestring) or \ 
    56                        not is_iterable(f.choices): 
     55                if isinstance(f.choices, basestring) or not is_iterable(f.choices): 
    5756                    e.add(opts, '"%s": "choices" should be iterable (e.g., a tuple or list).' % f.name) 
    5857                else: