diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2011-01-25 18:46:26 +0100 |
---|---|---|
committer | Simo Sorce <ssorce@redhat.com> | 2011-01-25 14:01:36 -0500 |
commit | ab2ca8022e4bd89e87e0b7ce908022e6df350866 (patch) | |
tree | 2f2bde264c001886e90dfb10466539e8f8b75782 /ipaserver/plugins/ldap2.py | |
parent | 27da394c442e98334726a7aae7da885c840be350 (diff) | |
download | freeipa.git-ab2ca8022e4bd89e87e0b7ce908022e6df350866.tar.gz freeipa.git-ab2ca8022e4bd89e87e0b7ce908022e6df350866.tar.xz freeipa.git-ab2ca8022e4bd89e87e0b7ce908022e6df350866.zip |
Fix assorted bugs found by pylint
Diffstat (limited to 'ipaserver/plugins/ldap2.py')
-rw-r--r-- | ipaserver/plugins/ldap2.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipaserver/plugins/ldap2.py b/ipaserver/plugins/ldap2.py index 86ea3f88..c920d21f 100644 --- a/ipaserver/plugins/ldap2.py +++ b/ipaserver/plugins/ldap2.py @@ -308,7 +308,7 @@ class ldap2(CrudBackend, Encoder): _ldap.set_option(_ldap.OPT_X_TLS_KEYFILE, tls_keyfile) if debug_level: - _ldap.set_option(_ldap.OPT_X_DEBUG_LEVEL, debug_level) + _ldap.set_option(_ldap.OPT_DEBUG_LEVEL, debug_level) try: conn = _ldap.initialize(self.ldap_uri) |