#NEWLINE# def __call__( self , env , start_response ) : #NEWLINE# #INDENT# path = utils . safe_rstrip ( env . get ( 'PATH_INFO' ) , '/' ) #NEWLINE# env [ 'is_public_api' ] = any ( map ( ( lambda pattern : re . match ( pattern , path ) ) , self . public_api_routes ) ) #NEWLINE# if env [ 'is_public_api' ] : #NEWLINE# #INDENT# return self . _ironic_app ( env , start_response ) #NEWLINE# #UNINDENT# return super ( AuthTokenMiddleware , self ) . __call__ ( env , start_response )