From b0d78da13b54d0ed17682026a19b269dc657112e Mon Sep 17 00:00:00 2001 From: Calum Lind Date: Tue, 5 Feb 2013 18:56:18 +0000 Subject: [PATCH] Fix #2258 : Potential runtimeError when emiting event --- deluge/core/rpcserver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deluge/core/rpcserver.py b/deluge/core/rpcserver.py index 3ef39e80a..9dffd5318 100644 --- a/deluge/core/rpcserver.py +++ b/deluge/core/rpcserver.py @@ -465,7 +465,7 @@ class RPCServer(component.Component): """ log.debug("intevents: %s", self.factory.interested_events) # Find sessions interested in this event - for session_id, interest in self.factory.interested_events.iteritems(): + for session_id, interest in self.factory.interested_events.items(): if event.name in interest: log.debug("Emit Event: %s %s", event.name, event.args) # This session is interested so send a RPC_EVENT