Commit 7bc2c99f by Dányi Bence

one: tab->space format fix

parent cbdf34c6
...@@ -109,14 +109,14 @@ def vm_show(request, iid): ...@@ -109,14 +109,14 @@ def vm_show(request, iid):
inst = get_object_or_404(Instance, id=iid, owner=request.user) inst = get_object_or_404(Instance, id=iid, owner=request.user)
inst.update_state() inst.update_state()
return render_to_response("show.html", RequestContext(request,{ return render_to_response("show.html", RequestContext(request,{
'uri': inst.get_connect_uri(), 'uri': inst.get_connect_uri(),
'state': inst.state, 'state': inst.state,
'name': inst.name, 'name': inst.name,
'id': iid, 'id': iid,
'age': inst.get_age(), 'age': inst.get_age(),
'instances': _list_instances(request), 'instances': _list_instances(request),
'i': inst, 'i': inst,
'booting' : not inst.active_since, 'booting' : not inst.active_since,
'ports': inst.firewall_host.list_ports() 'ports': inst.firewall_host.list_ports()
})) }))
......
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