#NEWLINE# def __call__( self , environ , start_response ) : #NEWLINE# #INDENT# request = Request ( environ , shallow = True ) #NEWLINE# adapter = self . url_map . bind_to_environ ( environ ) #NEWLINE# try : #NEWLINE# #INDENT# ( provider , values ) = adapter . match ( ) #NEWLINE# request . path_values = values #NEWLINE# rv = provider . handle_request ( request ) #NEWLINE# #UNINDENT# except HTTPException as exc : #NEWLINE# #INDENT# rv = exc #NEWLINE# #UNINDENT# return rv ( environ , start_response )