diff options
author | Rob Crittenden <rcritten@redhat.com> | 2010-06-03 17:07:24 -0400 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2010-06-03 17:08:22 -0400 |
commit | 1dd7b11b0b5697f86f4d486fbe9509484ae2065a (patch) | |
tree | 8557e57432ea408b69dc6af27cc795c8db3716cc /ipalib/backend.py | |
parent | 4924270b453655270da03b14f3e7825713820f0a (diff) | |
download | freeipa-1dd7b11b0b5697f86f4d486fbe9509484ae2065a.tar.gz freeipa-1dd7b11b0b5697f86f4d486fbe9509484ae2065a.tar.xz freeipa-1dd7b11b0b5697f86f4d486fbe9509484ae2065a.zip |
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.
Diffstat (limited to 'ipalib/backend.py')
-rw-r--r-- | ipalib/backend.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipalib/backend.py b/ipalib/backend.py index 03f4ce396..b17c517ab 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) |