Commit 6a9390f9 by Bach Dániel

dashboard: fix flake8 warnings

parent eb3f55b3
......@@ -989,7 +989,8 @@ class VmPortAddForm(OperationForm):
helper.layout = Layout(
AnyTag(
"div",
HTML(format_html(_("<label>Host:</label> {0}"), self.host)),
HTML(format_html(
_("<label>Host:</label> {0}"), self.host)),
css_class="form-group",
),
Field("host"),
......
......@@ -270,7 +270,6 @@ class VmDetailView(GraphMixin, CheckedDetailView):
return redirect(reverse_lazy("dashboard.views.detail",
kwargs={'pk': self.object.pk}))
def __abort_operation(self, request):
self.object = self.get_object()
......
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