[lc_ldap] on appelle attrify avec le ldif post-modifications
This commit is contained in:
parent
6fac8f73ad
commit
625a9c561e
1 changed files with 3 additions and 1 deletions
|
@ -317,7 +317,9 @@ class CransLdapObject(object):
|
|||
new_vals = [new_vals]
|
||||
|
||||
# On attrify
|
||||
new_vals = [ attrify(val, attr, self._modifs) for val in new_vals ]
|
||||
cldif = self.attrs.copy()
|
||||
cldif[attr] = new_vals
|
||||
new_vals = [ attrify(val, attr, cldif) for val in new_vals ]
|
||||
|
||||
# Si ça passe, on effectue les modifications
|
||||
old_vals = [ str(val) for val in self.attrs.get(attr, []) ]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue