[lc_ldap] penser à stocker le bind_dn [attributs] typo
This commit is contained in:
parent
8c9bf151bb
commit
ae7d33c267
2 changed files with 3 additions and 1 deletions
|
@ -533,7 +533,7 @@ class controle(Attr):
|
|||
def parse_value(self, ctrl, ldif):
|
||||
if ctrl not in [u"", u"c", u"p", u"cp", u"pc"]:
|
||||
raise ValueError("control peut prendre les valeurs [c][p]")
|
||||
if ctrl = u'pc':
|
||||
if ctrl == u'pc':
|
||||
self.value = u'cp'
|
||||
else:
|
||||
self.value = ctrl
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue