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.group_attrs_keys = []
for a in attrslist:
self.attrlist.append(self._str(a))

View File

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