summaryrefslogtreecommitdiffstats
path: root/ipalib/frontend.py
diff options
context:
space:
mode:
authorJason Gerard DeRose <jderose@redhat.com>2008-10-02 19:42:06 -0600
committerJason Gerard DeRose <jderose@redhat.com>2008-10-02 19:42:06 -0600
commit3ffbaac64cc3a9ab704c707112f59e041986576c (patch)
treee113753d2d822d813f082f78718515c517234960 /ipalib/frontend.py
parentd84e27f0d41aa13cfa5dd154ee476bd7c5e8b072 (diff)
downloadfreeipa-3ffbaac64cc3a9ab704c707112f59e041986576c.tar.gz
freeipa-3ffbaac64cc3a9ab704c707112f59e041986576c.tar.xz
freeipa-3ffbaac64cc3a9ab704c707112f59e041986576c.zip
Backend.xmlrpc and simple-server.py now use the xmlrpc_marshal() and xmlrpc_unmarshal() functions respectively
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 7abb8fb03..651e4642a 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):