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

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/zeroconf/connection_zeroconf.py')
-rw-r--r--src/common/zeroconf/connection_zeroconf.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/zeroconf/connection_zeroconf.py b/src/common/zeroconf/connection_zeroconf.py
index 3f1e8536a..d78dd11ba 100644
--- a/src/common/zeroconf/connection_zeroconf.py
+++ b/src/common/zeroconf/connection_zeroconf.py
@@ -135,7 +135,7 @@ class ConnectionZeroconf(ConnectionHandlersZeroconf):
# END __init__
def dispatch(self, event, data):
- if gajim.handlers.has_key(event):
+ if event in gajim.handlers:
gajim.handlers[event](self.name, data)
def _reconnect(self):