diff options
| author | Tim Graham <timograham@gmail.com> | 2014-09-04 08:15:09 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-09-05 09:22:16 -0400 |
| commit | 1101467ce0756272a54f4c7bc65c4c335a94111b (patch) | |
| tree | ddfd451bbc041d69284d3685e351ffc88872780e /django/forms/forms.py | |
| parent | f8bb8436e533abad563b5235cf0e62e42dbc5f01 (diff) | |
Limited lines to 119 characters in django/
refs #23395.
Diffstat (limited to 'django/forms/forms.py')
| -rw-r--r-- | django/forms/forms.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/django/forms/forms.py b/django/forms/forms.py index d631b8f928..3f6a876832 100644 --- a/django/forms/forms.py +++ b/django/forms/forms.py @@ -49,7 +49,10 @@ def get_declared_fields(bases, attrs, with_base_fields=True): stacklevel=2, ) - fields = [(field_name, attrs.pop(field_name)) for field_name, obj in list(six.iteritems(attrs)) if isinstance(obj, Field)] + fields = [ + (field_name, attrs.pop(field_name)) + for field_name, obj in list(six.iteritems(attrs)) if isinstance(obj, Field) + ] fields.sort(key=lambda x: x[1].creation_counter) # If this class is subclassing another Form, add that Form's fields. |
