Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/python-nbxmpp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann Leboulanger <asterix@lagaule.org>2013-01-05 13:17:56 +0400
committerYann Leboulanger <asterix@lagaule.org>2013-01-05 13:17:56 +0400
commit552d2c36cdf5d819ee9be23b284bf13e8e0581f8 (patch)
tree23608850502255f4e535f4bdf44c0550e5efbe56
parent20a131874e552f1a3ab52f1a7cd6de97669be402 (diff)
dict.items() -> list(dict.items())
-rw-r--r--nbxmpp/idlequeue.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nbxmpp/idlequeue.py b/nbxmpp/idlequeue.py
index 9299555..669a7ef 100644
--- a/nbxmpp/idlequeue.py
+++ b/nbxmpp/idlequeue.py
@@ -307,7 +307,7 @@ class IdleQueue:
"""
current_time = self.current_time()
- for fd, timeouts in self.read_timeouts.items():
+ for fd, timeouts in list(self.read_timeouts.items()):
if fd not in self.queue:
self.remove_timeout(fd)
continue