From 340e8e5c267d8b96f5baaf6b608d22675277574e Mon Sep 17 00:00:00 2001 From: Nicolas Dandrimont Date: Sun, 17 Oct 2010 14:47:54 +0200 Subject: [PATCH] =?UTF-8?q?[lc=5Fldap]=20on=20it=C3=A8re=20correctement=20?= =?UTF-8?q?sur=20le=20dict=20oldif?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lc_ldap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lc_ldap.py b/lc_ldap.py index 6ca50e2..3bc5111 100644 --- a/lc_ldap.py +++ b/lc_ldap.py @@ -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: