コード例 #1
0
        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()
コード例 #2
0
 def refresh_job_proxy_user(self, user):
     return MyProxyProxyRefresher.renew_job_proxy_user(
         job_pool, user)
コード例 #3
0
 def refresh_job_proxy_user(self, user):
     return MyProxyProxyRefresher.renew_job_proxy_user(job_pool, user)