summary refs log tree commit diff
path: root/synapse/util/retryutils.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-02-17 17:37:51 +0000
committerErik Johnston <erik@matrix.org>2015-02-17 17:37:51 +0000
commitf91263b1e03a6e30480af1ece357c27439a8c6b3 (patch)
tree67ff444c69f2df0ecc2ea8ceb1d9f0f4603b11a8 /synapse/util/retryutils.py
parentMerge branch 'develop' of github.com:matrix-org/synapse into keyclient_retry_... (diff)
downloadsynapse-f91263b1e03a6e30480af1ece357c27439a8c6b3.tar.xz
Remove spurious self
Diffstat (limited to '')
-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