Commit f059aa28 by Őry Máté

dashboard: fix VmRenewView.get_response_data signature

parent 9c6fff96
...@@ -862,7 +862,7 @@ class VmRenewView(FormOperationMixin, TokenOperationView, VmOperationView): ...@@ -862,7 +862,7 @@ class VmRenewView(FormOperationMixin, TokenOperationView, VmOperationView):
val.update({'choices': choices, 'default': default}) val.update({'choices': choices, 'default': default})
return val return val
def get_response_data(self, result, extra, **kwargs): def get_response_data(self, result, extra=None, **kwargs):
extra = super(VmRenewView, self).get_response_data(result, extra = super(VmRenewView, self).get_response_data(result,
extra, **kwargs) extra, **kwargs)
extra["new_suspend_time"] = unicode(self.get_op(). extra["new_suspend_time"] = unicode(self.get_op().
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment