mirror of
https://github.com/kakwa/ldapcherry
synced 2024-11-25 18:54:29 +01:00
fix pep8 compliance
This commit is contained in:
parent
95d6a0e6a4
commit
b9903e62ff
@ -148,7 +148,7 @@ class Backend(ldapcherry.backend.backendLdap.Backend):
|
|||||||
if group in AD_BUILTIN_GROUPS:
|
if group in AD_BUILTIN_GROUPS:
|
||||||
ad_groups.append('cn=' + group + ',' + self.builtin)
|
ad_groups.append('cn=' + group + ',' + self.builtin)
|
||||||
else:
|
else:
|
||||||
ad_groups.append('cn=' + group + ',' +self.groupdn)
|
ad_groups.append('cn=' + group + ',' + self.groupdn)
|
||||||
return ad_groups
|
return ad_groups
|
||||||
|
|
||||||
def add_to_groups(self, username, groups):
|
def add_to_groups(self, username, groups):
|
||||||
|
Loading…
Reference in New Issue
Block a user