From 9b06f2da23d67a598c478d72262704709f0c7995 Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Wed, 4 Oct 2017 11:44:04 +0100 Subject: [PATCH] Remove redundant init MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This convoluted bit of code was doing the exact same thing as just inheriting from the parent class’s `__init__`. --- app/main/forms.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/main/forms.py b/app/main/forms.py index cf899cc4f..e04b8d148 100644 --- a/app/main/forms.py +++ b/app/main/forms.py @@ -214,9 +214,6 @@ class TextNotReceivedForm(Form): class ServiceNameForm(Form): - def __init__(self, *args, **kwargs): - super(ServiceNameForm, self).__init__(*args, **kwargs) - name = StringField( u'Service name', validators=[