From 1dd7b11b0b5697f86f4d486fbe9509484ae2065a Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Thu, 3 Jun 2010 17:07:24 -0400 Subject: Connect the -v cli argument to the verbose flag in xmlrpclib If you pass two -v to the ipa command you'll get the XML-RPC data in the output. This can be handy so you know exactly what went out over the wire. --- ipalib/backend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ipalib/backend.py') diff --git a/ipalib/backend.py b/ipalib/backend.py index 03f4ce39..b17c517a 100644 --- a/ipalib/backend.py +++ b/ipalib/backend.py @@ -109,7 +109,7 @@ class Executioner(Backend): if self.env.in_server: self.Backend.ldap2.connect(ccache=ccache) else: - self.Backend.xmlclient.connect() + self.Backend.xmlclient.connect(verbose=(self.env.verbose >= 2)) if client_ip is not None: setattr(context, "client_ip", client_ip) -- cgit