summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
fd1ed40)
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2709
port=port,
authtoken=token)
return d
port=port,
authtoken=token)
return d
@cherrypy.expose
@cherrypy.tools.mako(filename="/command.mako")
@cherrypy.tools.require_POST()
def command(self, command_name, machine_id, **kwargs):
"""Handler for running commands like boot and delete on a VM."""
@cherrypy.expose
@cherrypy.tools.mako(filename="/command.mako")
@cherrypy.tools.require_POST()
def command(self, command_name, machine_id, **kwargs):
"""Handler for running commands like boot and delete on a VM."""
- back = kwargs.get('back', None)
+ back = kwargs.get('back')
try:
d = controls.commandResult(cherrypy.request.login,
cherrypy.request.state,
try:
d = controls.commandResult(cherrypy.request.login,
cherrypy.request.state,