#NEWLINE# def Layout( self , request , response ) : #NEWLINE# #INDENT# 'Launch the RequestApproval flow on the backend.' #NEWLINE# subject = rdfvalue . RDFURN ( request . REQ . get ( 'subject' ) ) #NEWLINE# reason = request . REQ . get ( 'reason' ) #NEWLINE# approver = request . REQ . get ( 'approver' ) #NEWLINE# if ( approver and reason ) : #NEWLINE# #INDENT# flow . GRRFlow . StartFlow ( flow_name = 'RequestCronJobApprovalFlow' , reason = reason , approver = approver , token = request . token , email_cc_address = _GetEmailCCAddress ( request ) , subject_urn = rdfvalue . RDFURN ( subject ) ) #NEWLINE# #UNINDENT# super ( CronJobApprovalRequestRenderer , self ) . Layout ( request , response )