summary refs log tree commit diff
path: root/synapse/federation/replication.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2014-12-08 14:50:48 +0000
committerErik Johnston <erik@matrix.org>2014-12-08 14:50:48 +0000
commitee3df06183cbebfe04f51cdd3a1a85a6b50efa9a (patch)
tree79240d0f78e800a9c327a5dd0df37ddfbb4a9729 /synapse/federation/replication.py
parentRemove unused import (diff)
downloadsynapse-ee3df06183cbebfe04f51cdd3a1a85a6b50efa9a.tar.xz
More bug fixes
Diffstat (limited to 'synapse/federation/replication.py')
-rw-r--r--synapse/federation/replication.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/federation/replication.py b/synapse/federation/replication.py
index 3af24ee46d..d4cd79b7ac 100644
--- a/synapse/federation/replication.py
+++ b/synapse/federation/replication.py
@@ -713,7 +713,7 @@ class _TransactionQueue(object):
         # table and we'll get back to it later.
 
         destinations = set(destinations)
-        destinations.remove(self.server_name)
+        destinations.discard(self.server_name)
 
         logger.debug("Sending to: %s", str(destinations))