summaryrefslogtreecommitdiffstats
path: root/ipalib/frontend.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipalib/frontend.py')
-rw-r--r--ipalib/frontend.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/ipalib/frontend.py b/ipalib/frontend.py
index 7abb8fb0..651e4642 100644
--- a/ipalib/frontend.py
+++ b/ipalib/frontend.py
@@ -541,8 +541,10 @@ class Command(plugable.Plugin):
print ' kw =', kw
def forward(self, *args, **kw):
- xmlrpc_client = self.api.Backend.xmlrpc.get_client()
- return getattr(xmlrpc_client, self.name)(kw, *args)
+ """
+ Forward call over XML-RPC.
+ """
+ return self.api.Backend.xmlrpc.forward_call(self.name, *args, **kw)
def __call__(self, *args, **kw):