def modcontrol_closereport_(request): form = request.web_input(reportid='', action='') report.close(request.userid, form) raise HTTPSeeOther(location="/modcontrol/report?reportid=%d" % (int(form.reportid), ))
def POST(self): form = web.input(reportid='', action='') report.close(self.user_id, form) raise web.seeother("/modcontrol/report?reportid=%s" % (form.reportid,))
def modcontrol_closereport_(request): form = request.web_input(reportid='', action='') report.close(request.userid, form) raise HTTPSeeOther(location="/modcontrol/report?reportid=%d" % (int(form.reportid),))
def POST(self): form = web.input(reportid='', action='') report.close(self.user_id, form) raise web.seeother("/modcontrol/report?reportid=%s" % (form.reportid, ))