def GET(self): restart(1) referer = web.ctx.env.get('HTTP_REFERER', u"/") if referer == u"restart": referer = u"/" return template_render.restarting(referer)
def GET(self): restart(1) return template_render.restarting()
def GET(self): restart(3) return template_render.restarting('/UPs')
def GET(self): perform_update() return template_render.restarting('/UPs')