Clean up E241 errors

pull/1155/head
Karl Hobley 2015-04-03 17:09:59 +01:00
rodzic cf965671e3
commit bf7292ffcf
3 zmienionych plików z 13 dodań i 13 usunięć

Wyświetl plik

@ -743,7 +743,7 @@ class TestStreamBlock(unittest.TestCase):
'value': 'My second paragraph',
},
])
return block.render_form(value, prefix='myarticle')
return block.render_form(value, prefix='myarticle')
def test_render_form_wrapper_class(self):
html = self.render_form()

Wyświetl plik

@ -94,7 +94,7 @@ def document_chosen(request, document_id):
return render_modal_workflow(
request, None, 'wagtaildocs/chooser/document_chosen.js',
{'document_json': get_document_json(document)}
{'document_json': get_document_json(document)}
)

Wyświetl plik

@ -22,17 +22,17 @@ from .forms import FormBuilder
FORM_FIELD_CHOICES = (
('singleline', _('Single line text')),
('multiline', _('Multi-line text')),
('email', _('Email')),
('number', _('Number')),
('url', _('URL')),
('checkbox', _('Checkbox')),
('checkboxes', _('Checkboxes')),
('dropdown', _('Drop down')),
('radio', _('Radio buttons')),
('date', _('Date')),
('datetime', _('Date/time')),
('singleline', _('Single line text')),
('multiline', _('Multi-line text')),
('email', _('Email')),
('number', _('Number')),
('url', _('URL')),
('checkbox', _('Checkbox')),
('checkboxes', _('Checkboxes')),
('dropdown', _('Drop down')),
('radio', _('Radio buttons')),
('date', _('Date')),
('datetime', _('Date/time')),
)