ldap_locks: oubli items() dans for

This commit is contained in:
Daniel STAN 2014-02-11 22:45:10 +01:00
parent faeb3651dd
commit 5e2a4ad10d

View file

@ -86,8 +86,8 @@ class LdapLockHolder:
l'objet. l'objet.
""" """
if Id == None: if Id == None:
for key, subdict in self.locks['default'].iteritems(): for key, subdict in self.locks['default'].items():
for item, value in subdict: for item, value in subdict.items():
try: try:
self.removelock(item, value, key) self.removelock(item, value, key)
except: except: