From 6a1f2bd00f0f8dbb52b25dd8a8e7c9cb8e2baccc Mon Sep 17 00:00:00 2001 From: Greg Price Date: Thu, 29 Oct 2009 01:36:43 -0400 Subject: [PATCH] style tweaks svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2709 --- code/main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/main.py b/code/main.py index f0d1f53..74365f5 100755 --- a/code/main.py +++ b/code/main.py @@ -340,12 +340,13 @@ console will suffer artifacts. 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.""" - back = kwargs.get('back', None) + back = kwargs.get('back') try: d = controls.commandResult(cherrypy.request.login, cherrypy.request.state, -- 1.7.9.5