diff options
author | Jan Cholasta <jcholast@redhat.com> | 2013-12-10 11:48:23 +0100 |
---|---|---|
committer | Petr Viktorin <pviktori@redhat.com> | 2014-01-10 14:41:39 +0100 |
commit | aa66cd5f35bc0d5e857d9bb4d6b294ee582bfd22 (patch) | |
tree | 3c2cc342d78e38af17c459a42ce368a34f7eb31b /ipapython | |
parent | 61887ac3929ac3bd5135867f31ad414a547327c9 (diff) | |
download | freeipa-aa66cd5f35bc0d5e857d9bb4d6b294ee582bfd22.tar.gz freeipa-aa66cd5f35bc0d5e857d9bb4d6b294ee582bfd22.tar.xz freeipa-aa66cd5f35bc0d5e857d9bb4d6b294ee582bfd22.zip |
Remove unused LDAPClient methods get_syntax and get_single_value.
https://fedorahosted.org/freeipa/ticket/3488
Diffstat (limited to 'ipapython')
-rw-r--r-- | ipapython/ipaldap.py | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/ipapython/ipaldap.py b/ipapython/ipaldap.py index c553feac4..2440d75fd 100644 --- a/ipapython/ipaldap.py +++ b/ipapython/ipaldap.py @@ -1231,15 +1231,6 @@ class LDAPClient(object): """schema associated with this LDAP server""" return self.conn.schema - def get_syntax(self, attr, value): - if self.schema is None: - return None - obj = self.schema.get_obj(ldap.schema.AttributeType, attr) - if obj is not None: - return obj.syntax - else: - return None - def has_dn_syntax(self, attr): return self.conn.has_dn_syntax(attr) @@ -1256,9 +1247,6 @@ class LDAPClient(object): reason=_('objectclass %s not found') % oc) return [unicode(a).lower() for a in list(set(allowed_attributes))] - def get_single_value(self, attr): - return self.conn.get_single_value(attr) - def make_dn_from_attr(self, attr, value, parent_dn=None): """ Make distinguished name from attribute. |