#NEWLINE# def get( self , path = '' ) : #NEWLINE# #INDENT# projects = Project . query . all ( ) #NEWLINE# report = BuildReport ( projects ) #NEWLINE# context = report . generate ( days = int ( request . args . get ( 'days' , 7 ) ) ) #NEWLINE# html_content = Markup ( toronado . from_string ( render_template ( 'email/build_report.html' , ** context ) ) ) #NEWLINE# return render_template ( 'debug/email.html' , html_content = projects )