[lc_ldap] on itère correctement sur le dict oldif
This commit is contained in:
parent
c489c32f24
commit
340e8e5c26
1 changed files with 1 additions and 1 deletions
|
@ -289,7 +289,7 @@ class CransLdapObject(object):
|
|||
oldif = res[0][1]
|
||||
nldif = cldif_to_ldif(self.attrs)
|
||||
|
||||
for attr, vals in oldif:
|
||||
for attr, vals in oldif.items():
|
||||
if nldif[attr] != vals:
|
||||
for v in nldif[attr]:
|
||||
if v in vals:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue