Correct wrong super __init__() calling
Change-Id: Ie9ac4194f41c332617feffd752a747f85ed6d337
This commit is contained in:
parent
5ad01a5101
commit
b40f6ef5e7
@ -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 = (
|
||||
|
Loading…
Reference in New Issue
Block a user