(self, name)
Locate a method in the controller by the specified name and
        return it
Locate a method in the controller by the specified name and
        return it
Locate a method in the controller by the specified name and return it
def _find_method(self, name):
        """Locate a method in the controller by the specified name and
        return it"""
        # Keep private methods private
        if name.startswith('_'):
            if self._pylons_log_debug:
                log.debug("Action starts with _, private action not allowed")
            return

        if self._pylons_log_debug:
            log.debug("Looking for XMLRPC method: %r", name)
        try:
            func = getattr(self, name, None)
        except UnicodeEncodeError:
            return
        if isinstance(func, types.MethodType):
            return func
def _find_method ( self , name ) : # Keep private methods private if name . startswith ( '_' ) : if self . _pylons_log_debug : log . debug ( "Action starts with _, private action not allowed" ) return if self . _pylons_log_debug : log . debug ( "Looking for XMLRPC method: %r" , name ) try : func = getattr ( self , name , None ) except UnicodeEncodeError : return if isinstance ( func , types . MethodType ) : return func