diff options
| author | Alex Gaynor <alex.gaynor@gmail.com> | 2013-10-24 10:30:03 -0700 |
|---|---|---|
| committer | Alex Gaynor <alex.gaynor@gmail.com> | 2013-10-24 10:30:03 -0700 |
| commit | 9bf5610890530ce5db9af7ef89ae5b8612f46a94 (patch) | |
| tree | f461664da084539144e15ca0074e4bdda7bfd635 /django/forms/widgets.py | |
| parent | 382d324ccc0753962ec31ac23a4bde4fb2b9454e (diff) | |
Start attacking E231 violations
Diffstat (limited to 'django/forms/widgets.py')
| -rw-r--r-- | django/forms/widgets.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/forms/widgets.py b/django/forms/widgets.py index 545d29aa45..3b5c460ef9 100644 --- a/django/forms/widgets.py +++ b/django/forms/widgets.py @@ -660,7 +660,7 @@ class ChoiceFieldRenderer(object): output = [start_tag] for i, choice in enumerate(self.choices): choice_value, choice_label = choice - if isinstance(choice_label, (tuple,list)): + if isinstance(choice_label, (tuple, list)): attrs_plus = self.attrs.copy() if id_: attrs_plus['id'] += '_{0}'.format(i) |
