Merge "Remove unneeded __init__() in UnmanageVolume class"

This commit is contained in:
Jenkins 2015-05-30 00:25:27 +00:00 committed by Gerrit Code Review
commit 46e2152ad2

View File

@ -148,9 +148,6 @@ class UnmanageVolume(forms.SelfHandlingForm):
widget=forms.TextInput(
attrs={'readonly': 'readonly'}))
def __init__(self, request, *args, **kwargs):
super(UnmanageVolume, self).__init__(request, *args, **kwargs)
def handle(self, request, data):
try:
cinder.volume_unmanage(request, self.initial['volume_id'])