summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins/config2.py
diff options
context:
space:
mode:
authorPavel Zuna <pzuna@redhat.com>2009-06-16 13:35:40 +0200
committerRob Crittenden <rcritten@redhat.com>2009-07-02 13:33:01 -0400
commitebdebe802dd74c9df82f87774bb3f5d9f6cbdee6 (patch)
tree333b536307819ec8520272a2500a82f6f09df77e /ipalib/plugins/config2.py
parent3ce00484f410e8968d68b1d5823d753c4cdf6365 (diff)
downloadfreeipa.git-ebdebe802dd74c9df82f87774bb3f5d9f6cbdee6.tar.gz
freeipa.git-ebdebe802dd74c9df82f87774bb3f5d9f6cbdee6.tar.xz
freeipa.git-ebdebe802dd74c9df82f87774bb3f5d9f6cbdee6.zip
Remove all references to use_ldap2.
Diffstat (limited to 'ipalib/plugins/config2.py')
-rw-r--r--ipalib/plugins/config2.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/ipalib/plugins/config2.py b/ipalib/plugins/config2.py
index 3c3829d8..c97c5759 100644
--- a/ipalib/plugins/config2.py
+++ b/ipalib/plugins/config2.py
@@ -115,7 +115,6 @@ class config2_mod(Command):
:param kw: Keyword arguments for the other LDAP attributes.
"""
assert 'dn' not in options
- assert self.api.env.use_ldap2, 'use_ldap2 is False'
ldap = self.api.Backend.ldap2
(dn, entry_attrs) = ldap.get_ipa_config()
@@ -163,7 +162,6 @@ class config2_show(Command):
:param args: Not used.
:param kw: Not used.
"""
- assert self.api.env.use_ldap2, 'use_ldap2 is False'
ldap = self.api.Backend.ldap2
return ldap.get_ipa_config()