def POST(self, user): user = urllib.unquote(user) if 'refresh' in web.input(): if web.input().refresh == 'job_proxy': return MyProxyProxyRefresher.renew_job_proxy_user(web.job_pool, user) elif web.input().refresh == 'vm_proxy': return MyProxyProxyRefresher.renew_vm_proxy_user(web.job_pool, user) raise web.notfound()
def refresh_job_proxy_user(self, user): return MyProxyProxyRefresher.renew_job_proxy_user( job_pool, user)
def refresh_job_proxy_user(self, user): return MyProxyProxyRefresher.renew_job_proxy_user(job_pool, user)