From b7995f91e02e9d753c562fd0124cb87ac7b5c2ac Mon Sep 17 00:00:00 2001 From: Mikalai Radchuk Date: Tue, 26 Apr 2016 19:24:40 +0300 Subject: [PATCH] Useless return (#2521) --- wagtail/wagtailforms/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wagtail/wagtailforms/forms.py b/wagtail/wagtailforms/forms.py index 9f43f4e259..a8c7c6217b 100644 --- a/wagtail/wagtailforms/forms.py +++ b/wagtail/wagtailforms/forms.py @@ -8,7 +8,7 @@ import django.forms class BaseForm(django.forms.Form): def __init__(self, *args, **kwargs): kwargs.setdefault('label_suffix', '') - return super(BaseForm, self).__init__(*args, **kwargs) + super(BaseForm, self).__init__(*args, **kwargs) class FormBuilder(object):