diff --git a/ldap_locks.py b/ldap_locks.py index 60ab19a..1795d64 100644 --- a/ldap_locks.py +++ b/ldap_locks.py @@ -93,7 +93,7 @@ class LdapLockHolder: except: pass else: - for item, value in self.locks[Id].iteritems(): + for item, value in self.locks[Id].items(): try: self.removelock(item, value, Id) except: