summaryrefslogtreecommitdiff
path: root/sleekxmpp/jid.py
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2012-12-14 09:37:45 -0800
committerLance Stout <lancestout@gmail.com>2012-12-14 09:37:45 -0800
commitf431bbfca2b9862f954e25d7dd234a9131bc2ee1 (patch)
tree2d82e0a0a8fc3017cb60b9280e79847c6c50446b /sleekxmpp/jid.py
parent6f8a4f83549ab1716ddca55c05518f3867eb9213 (diff)
parent8b29900be459dffcb32a9fc106caebbbf93e5b33 (diff)
downloadslixmpp-f431bbfca2b9862f954e25d7dd234a9131bc2ee1.tar.gz
slixmpp-f431bbfca2b9862f954e25d7dd234a9131bc2ee1.tar.bz2
slixmpp-f431bbfca2b9862f954e25d7dd234a9131bc2ee1.tar.xz
slixmpp-f431bbfca2b9862f954e25d7dd234a9131bc2ee1.zip
Merge branch 'master' into develop
Diffstat (limited to 'sleekxmpp/jid.py')
-rw-r--r--sleekxmpp/jid.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/jid.py b/sleekxmpp/jid.py
index 8f1a81d4..bf0c1970 100644
--- a/sleekxmpp/jid.py
+++ b/sleekxmpp/jid.py
@@ -75,7 +75,7 @@ def _cache(key, parts, locked):
with JID_CACHE_LOCK:
while len(JID_CACHE) > JID_CACHE_MAX_SIZE:
found = None
- for key, item in JID_CACHE.iteritems():
+ for key, item in JID_CACHE.items():
if not item[1]: # if not locked
found = key
break