diff options
author | Pavel Zuna <pzuna@redhat.com> | 2009-06-16 13:35:40 +0200 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2009-07-02 13:33:01 -0400 |
commit | ebdebe802dd74c9df82f87774bb3f5d9f6cbdee6 (patch) | |
tree | 333b536307819ec8520272a2500a82f6f09df77e /ipalib/plugins/pwpolicy2.py | |
parent | 3ce00484f410e8968d68b1d5823d753c4cdf6365 (diff) | |
download | freeipa.git-ebdebe802dd74c9df82f87774bb3f5d9f6cbdee6.tar.gz freeipa.git-ebdebe802dd74c9df82f87774bb3f5d9f6cbdee6.tar.xz freeipa.git-ebdebe802dd74c9df82f87774bb3f5d9f6cbdee6.zip |
Remove all references to use_ldap2.
Diffstat (limited to 'ipalib/plugins/pwpolicy2.py')
-rw-r--r-- | ipalib/plugins/pwpolicy2.py | 2 |
1 files changed, 0 insertions, 2 deletions
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 |