diff options
| author | Luke Plant <L.Plant.98@cantab.net> | 2006-04-28 20:56:58 +0000 |
|---|---|---|
| committer | Luke Plant <L.Plant.98@cantab.net> | 2006-04-28 20:56:58 +0000 |
| commit | 6ec3a4d9ee8f63deb6934a2e75c8bcd56b65b30f (patch) | |
| tree | 11c1af54160b24ddb7a61e3d7c99ea1db3b5b193 /django/forms/__init__.py | |
| parent | a5afa8af63755ac948a4d9ebcb736c008d6bc81c (diff) | |
magic-removal: Fixed negligible indentation errors.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2771 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/forms/__init__.py')
| -rw-r--r-- | django/forms/__init__.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/django/forms/__init__.py b/django/forms/__init__.py index b54351fd80..b0c1c2004f 100644 --- a/django/forms/__init__.py +++ b/django/forms/__init__.py @@ -327,10 +327,10 @@ class FormField: new_data.setlist(name, converted_data) else: try: - #individual fields deal with None values themselves - new_data.setlist(name, [self.__class__.html2python(None)]) + #individual fields deal with None values themselves + new_data.setlist(name, [self.__class__.html2python(None)]) except EmptyValue: - new_data.setlist(name, []) + new_data.setlist(name, []) def run_validator(self, new_data, validator): @@ -348,7 +348,7 @@ class FormField: try: for validator in self.validator_list: try: - self.run_validator(new_data, validator) + self.run_validator(new_data, validator) except validators.ValidationError, e: errors.setdefault(self.field_name, []).extend(e.messages) # If a CriticalValidationError is raised, ignore any other ValidationErrors |
