summary refs log tree commit diff
path: root/synapse/federation/transport/server.py
diff options
context:
space:
mode:
authorPaul Evans <leonerd@leonerd.org.uk>2015-03-13 17:31:10 +0000
committerPaul Evans <leonerd@leonerd.org.uk>2015-03-13 17:31:10 +0000
commite731d30d90680b98237aaff7e655f26e942f468c (patch)
treef04bf166aca228c53af3a1cb2d4626f4889cbf61 /synapse/federation/transport/server.py
parentAlso bump dependency link version (diff)
parentMerge remote-tracking branch 'origin/develop' into metrics (diff)
downloadsynapse-e731d30d90680b98237aaff7e655f26e942f468c.tar.xz
Merge pull request #108 from matrix-org/metrics
Metrics
Diffstat (limited to 'synapse/federation/transport/server.py')
-rw-r--r--synapse/federation/transport/server.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/synapse/federation/transport/server.py b/synapse/federation/transport/server.py

index 6c624977d7..7838a81362 100644 --- a/synapse/federation/transport/server.py +++ b/synapse/federation/transport/server.py
@@ -148,6 +148,10 @@ class BaseFederationServlet(object): logger.exception("authenticate_request failed") raise defer.returnValue(response) + + # Extra logic that functools.wraps() doesn't finish + new_code.__self__ = code.__self__ + return new_code def register(self, server):