summary refs log tree commit diff
path: root/synapse/federation/replication.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2014-11-04 15:16:43 +0000
committerErik Johnston <erik@matrix.org>2014-11-04 15:16:43 +0000
commita5a4ef3fd7b632d838940fb3bd7b079a897fa8a4 (patch)
tree76a42d5e245ffb72e0d42cd193e04817251308fd /synapse/federation/replication.py
parentOn AuthError, raise a FederationError (diff)
downloadsynapse-a5a4ef3fd7b632d838940fb3bd7b079a897fa8a4.tar.xz
Fix bug in replication
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 98997998ff..92a9678e2c 100644
--- a/synapse/federation/replication.py
+++ b/synapse/federation/replication.py
@@ -648,7 +648,7 @@ class _TransactionQueue(object):
         #  list of (pending_pdu, deferred, order)
         pending_pdus = self.pending_pdus_by_dest.pop(destination, [])
         pending_edus = self.pending_edus_by_dest.pop(destination, [])
-        pending_failures = self.pending_failures_by_dest(destination, [])
+        pending_failures = self.pending_failures_by_dest.pop(destination, [])
 
         if not pending_pdus and not pending_edus and not pending_failures:
             return