summary refs log tree commit diff
path: root/synapse/util/retryutils.py
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/util/retryutils.py')
-rw-r--r--synapse/util/retryutils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/util/retryutils.py b/synapse/util/retryutils.py
index bba524ebd8..9ab119f29e 100644
--- a/synapse/util/retryutils.py
+++ b/synapse/util/retryutils.py
@@ -81,7 +81,7 @@ class RetryDestinationLimiter(object):
         pass
 
     def __exit__(self, exc_type, exc_val, exc_tb):
-        def err(self, failure):
+        def err(failure):
             logger.exception(
                 "Failed to store set_destination_retry_timings",
                 failure.value