1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2025-07-31 12:41:08 +00:00

Fixed pep8

This commit is contained in:
Retspen 2015-03-27 17:12:15 +02:00
parent b9bf14fdb5
commit 56f840c893
13 changed files with 37 additions and 18 deletions

View file

@ -132,7 +132,7 @@ def storage(request, compute_id, pool):
if 'delete' in request.POST:
try:
conn.delete()
return HttpResponseRedirect(reverse('storages', args=[host_id]))
return HttpResponseRedirect(reverse('storages', args=[compute_id]))
except libvirtError as lib_err:
error_messages.append(lib_err.message)
if 'set_autostart' in request.POST: