#NEWLINE# def _iter_loaders( self , template ) : #NEWLINE# #INDENT# loader = self . app . jinja_loader #NEWLINE# if ( loader is not None ) : #NEWLINE# #INDENT# ( yield ( loader , template ) ) #NEWLINE# #UNINDENT# try : #NEWLINE# #INDENT# ( module , local_name ) = posixpath . normpath ( template ) . split ( '/' , 1 ) #NEWLINE# blueprint = self . app . blueprints [ module ] #NEWLINE# if blueprint_is_module ( blueprint ) : #NEWLINE# #INDENT# loader = blueprint . jinja_loader #NEWLINE# if ( loader is not None ) : #NEWLINE# #INDENT# ( yield ( loader , local_name ) ) #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# except ( ValueError , KeyError ) : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# for blueprint in self . app . blueprints . itervalues ( ) : #NEWLINE# #INDENT# if blueprint_is_module ( blueprint ) : #NEWLINE# #INDENT# continue #NEWLINE# #UNINDENT# loader = blueprint . jinja_loader #NEWLINE# if ( loader is not None ) : #NEWLINE# #INDENT# ( yield ( loader , template ) )