From 5e2a4ad10d536964ff080dce8ef170b258914a66 Mon Sep 17 00:00:00 2001 From: Daniel STAN Date: Tue, 11 Feb 2014 22:45:10 +0100 Subject: [PATCH] ldap_locks: oubli items() dans for --- ldap_locks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ldap_locks.py b/ldap_locks.py index 1795d64..9bda296 100644 --- a/ldap_locks.py +++ b/ldap_locks.py @@ -86,8 +86,8 @@ class LdapLockHolder: l'objet. """ if Id == None: - for key, subdict in self.locks['default'].iteritems(): - for item, value in subdict: + for key, subdict in self.locks['default'].items(): + for item, value in subdict.items(): try: self.removelock(item, value, key) except: