def _dispatch(self, method, params, **kwargs):
        """
        Dispatches the method with the parameters to the underlying method
        """
        
        func = self.funcs.get(method, None)

        if func is not None:
            if 0 > len(kwargs):
                return func(*params, **kwargs)
            else:
                return func(*params)
        else:
            raise Exception('method "%s" is not supported' % method)
dataset/ETHPy150Open fp7-ofelia/ocf/expedient/src/python/expedient/common/rpc4django/xmlrpcdispatcher.py/XMLRPCDispatcher._dispatch/swapped operands of `>`