Correct wrong super __init__() calling

Change-Id: Ie9ac4194f41c332617feffd752a747f85ed6d337
This commit is contained in:
Zhenguo Niu 2015-07-24 23:37:50 +08:00
parent 5ad01a5101
commit b40f6ef5e7

View File

@ -179,7 +179,7 @@ class UpdateStatus(forms.SelfHandlingForm):
status = forms.ChoiceField(label=_("Status"))
def __init__(self, request, *args, **kwargs):
super(forms.SelfHandlingForm, self).__init__(request, *args, **kwargs)
super(UpdateStatus, self).__init__(request, *args, **kwargs)
# This set of states was culled from cinder's admin_actions.py
self.fields['status'].choices = (