Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gutyán Gábor
/
circlestack
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
6a9390f9
authored
Oct 20, 2014
by
Bach Dániel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dashboard: fix flake8 warnings
parent
eb3f55b3
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
circle/dashboard/forms.py
+2
-1
circle/dashboard/views/vm.py
+0
-1
No files found.
circle/dashboard/forms.py
View file @
6a9390f9
...
@@ -989,7 +989,8 @@ class VmPortAddForm(OperationForm):
...
@@ -989,7 +989,8 @@ class VmPortAddForm(OperationForm):
helper
.
layout
=
Layout
(
helper
.
layout
=
Layout
(
AnyTag
(
AnyTag
(
"div"
,
"div"
,
HTML
(
format_html
(
_
(
"<label>Host:</label> {0}"
),
self
.
host
)),
HTML
(
format_html
(
_
(
"<label>Host:</label> {0}"
),
self
.
host
)),
css_class
=
"form-group"
,
css_class
=
"form-group"
,
),
),
Field
(
"host"
),
Field
(
"host"
),
...
...
circle/dashboard/views/vm.py
View file @
6a9390f9
...
@@ -270,7 +270,6 @@ class VmDetailView(GraphMixin, CheckedDetailView):
...
@@ -270,7 +270,6 @@ class VmDetailView(GraphMixin, CheckedDetailView):
return
redirect
(
reverse_lazy
(
"dashboard.views.detail"
,
return
redirect
(
reverse_lazy
(
"dashboard.views.detail"
,
kwargs
=
{
'pk'
:
self
.
object
.
pk
}))
kwargs
=
{
'pk'
:
self
.
object
.
pk
}))
def
__abort_operation
(
self
,
request
):
def
__abort_operation
(
self
,
request
):
self
.
object
=
self
.
get_object
()
self
.
object
=
self
.
get_object
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment