style tweaks
authorGreg Price <price@mit.edu>
Thu, 29 Oct 2009 05:36:43 +0000 (01:36 -0400)
committerGreg Price <price@mit.edu>
Thu, 29 Oct 2009 05:36:43 +0000 (01:36 -0400)
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2709

code/main.py

index f0d1f53..74365f5 100755 (executable)
@@ -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,