#NEWLINE# def render_body( self , type ) : #NEWLINE# #INDENT# template_list = [ ( '%s/interaction/email/%s/body.%s' % ( self . app_name , self . template_name , type ) ) , ( 'interaction/email/%s/body.%s' % ( template_list . template_name , type ) ) ] #NEWLINE# template = select_template ( template_list ) #NEWLINE# return template . render ( self . context_instance )