From 8b29900be459dffcb32a9fc106caebbbf93e5b33 Mon Sep 17 00:00:00 2001 From: Lance Stout Date: Fri, 14 Dec 2012 09:37:29 -0800 Subject: Fix some Python3 compatibility issues. --- sleekxmpp/jid.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sleekxmpp/jid.py') 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 -- cgit v1.2.3