#NEWLINE# def find_template( self , name , dirs = None ) : #NEWLINE# #INDENT# for loader in self . loaders : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# ( template , display_name ) = loader ( name , dirs ) #NEWLINE# return ( template , make_origin ( display_name , loader , name , dirs ) ) #NEWLINE# #UNINDENT# except TemplateDoesNotExist : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# #UNINDENT# raise TemplateDoesNotExist ( name )