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, 3 insertions, 3 deletions
diff --git a/ipalib/frontend.py b/ipalib/frontend.py
index 30f5942b9..6decb17db 100644
--- a/ipalib/frontend.py
+++ b/ipalib/frontend.py
@@ -542,9 +542,9 @@ class Command(plugable.Plugin):
print ' kw =', kw
def forward(self, *args, **kw):
- print '%s.execute():' % self.name
- print ' args =', args
- print ' kw =', kw
+ xmlrpc_client = self.api.Backend.xmlrpc.get_client()
+ return getattr(xmlrpc_client, self.name)(kw, *args)
+
def __call__(self, *args, **kw):
if len(args) > 0: