1
0
mirror of https://github.com/django/django.git synced 2024-12-26 11:06:07 +00:00

Fixed some bad indentation

git-svn-id: http://code.djangoproject.com/svn/django/trunk@12210 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Luke Plant 2010-01-12 14:26:17 +00:00
parent c4ad3dede1
commit eb2cbb6db1

View File

@ -660,7 +660,7 @@ class Model(object):
date_errors = self._perform_date_checks(date_checks) date_errors = self._perform_date_checks(date_checks)
for k, v in date_errors.items(): for k, v in date_errors.items():
errors.setdefault(k, []).extend(v) errors.setdefault(k, []).extend(v)
if errors: if errors:
raise ValidationError(errors) raise ValidationError(errors)