(self, name, *args, **kwargs)
Runs a plugin method.

            Returns:

                (True, retval) on success.
                (False, None) on nonexistent method.
                (False, (exc, traceback string)) if there was an exception.
Runs a plugin method.
Runs a plugin method .
def run(self, name, *args, **kwargs):
        """
            Runs a plugin method.

            Returns:

                (True, retval) on success.
                (False, None) on nonexistent method.
                (False, (exc, traceback string)) if there was an exception.
        """
        f = self.ns.get(name)
        if f:
            try:
                return (True, f(self.ctx, *args, **kwargs))
            except Exception, v:
                return (False, (v, traceback.format_exc(v)))
        else:
            return (False, None)
def run ( self , name , * args , * * kwargs ) : f = self . ns . get ( name ) if f : try : return ( True , f ( self . ctx , * args , * * kwargs ) ) except Exception , v : return ( False , ( v , traceback . format_exc ( v ) ) ) else : return ( False , None )