Commit a2515fe0 by Őry Máté

dashboard: fix pep8

parent 9fb9dfc6
...@@ -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)
......
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