1
0
mirror of https://github.com/kakwa/ldapcherry synced 2024-11-25 18:54:29 +01:00
This commit is contained in:
kakwa 2017-03-16 03:03:59 +01:00
parent 3fd6dcee82
commit eb36830845
2 changed files with 1 additions and 1 deletions

View File

@ -139,6 +139,7 @@ class Backend(ldapcherry.backend.backendLdap.Backend):
} }
self.attrlist = [] self.attrlist = []
self.group_attrs_keys = []
for a in attrslist: for a in attrslist:
self.attrlist.append(self._str(a)) self.attrlist.append(self._str(a))

View File

@ -180,7 +180,6 @@ class Backend(ldapcherry.backend.Backend):
or if it's multivaluated. or if it's multivaluated.
""" """
for key in self.group_attrs_keys: for key in self.group_attrs_keys:
pass
if key not in attrs: if key not in attrs:
raise MissingGroupAttr(key) raise MissingGroupAttr(key)
if type(attrs[key]) is list and len(attrs[key]) == 1: if type(attrs[key]) is list and len(attrs[key]) == 1: