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/pwpolicy2.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'ipalib/plugins/pwpolicy2.py') diff --git a/ipalib/plugins/pwpolicy2.py b/ipalib/plugins/pwpolicy2.py index 3093a002..9e241761 100644 --- a/ipalib/plugins/pwpolicy2.py +++ b/ipalib/plugins/pwpolicy2.py @@ -84,7 +84,6 @@ class pwpolicy2_mod(Command): def execute(self, *args, **options): assert 'dn' not in options - assert self.api.env.use_ldap2, 'use_ldap2 is False' ldap = self.api.Backend.ldap2 entry_attrs = self.args_options_2_entry(*args, **options) @@ -127,7 +126,6 @@ class pwpolicy2_show(Command): Display password policy. """ def execute(self, *args, **options): - assert self.api.env.use_ldap2, 'use_ldap2 is False' ldap = self.api.Backend.ldap2 dn = self.api.env.container_accounts -- cgit