Changed ldap.dn class attribute (on backend plugin) to an instance attribute so epydoc doesn't document it

This commit is contained in:
Jason Gerard DeRose 2008-10-17 22:33:03 -06:00
parent 80ccf8b1c6
commit 83a662e87a

View File

@ -36,7 +36,8 @@ class ldap(CrudBackend):
LDAP backend plugin.
"""
dn = _ldap.dn
def __init__(self):
self.dn = _ldap.dn
def make_user_dn(self, uid):
"""
@ -194,7 +195,7 @@ class ldap(CrudBackend):
search_base = "%s, %s" % (self.api.env.container_accounts, self.api.env.basedn)
try:
exact_results = servercore.search(search_base,
exact_results = servercore.search(search_base,
exact_match_filter, ["*"])
except errors.NotFound:
exact_results = [0]