From ebdebe802dd74c9df82f87774bb3f5d9f6cbdee6 Mon Sep 17 00:00:00 2001 From: Pavel Zuna Date: Tue, 16 Jun 2009 13:35:40 +0200 Subject: Remove all references to use_ldap2. --- ipalib/plugins/config2.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'ipalib/plugins/config2.py') 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() -- cgit