Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Fukász Rómeó Ervin
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
a2515fe0
authored
Jun 06, 2014
by
Őry Máté
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dashboard: fix pep8
parent
9fb9dfc6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
circle/dashboard/views.py
+3
-3
No files found.
circle/dashboard/views.py
View file @
a2515fe0
...
@@ -1946,9 +1946,9 @@ class VmMassDelete(LoginRequiredMixin, View):
...
@@ -1946,9 +1946,9 @@ class VmMassDelete(LoginRequiredMixin, View):
logger
.
info
(
'Tried to delete instance #
%
d without owner '
logger
.
info
(
'Tried to delete instance #
%
d without owner '
'permission by
%
s.'
,
i
.
pk
,
'permission by
%
s.'
,
i
.
pk
,
unicode
(
request
.
user
))
unicode
(
request
.
user
))
raise
PermissionDenied
()
# no need for rollback or proper
# no need for rollback or proper error message, this can't
# error message, this can't
# normally happen:
# normally happen.
raise
PermissionDenied
()
try
:
try
:
i
.
destroy
.
async
(
user
=
request
.
user
)
i
.
destroy
.
async
(
user
=
request
.
user
)
names
.
append
(
i
.
name
)
names
.
append
(
i
.
name
)
...
...
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