diff options
author | Paul Evans <leonerd@leonerd.org.uk> | 2015-03-13 17:31:10 +0000 |
---|---|---|
committer | Paul Evans <leonerd@leonerd.org.uk> | 2015-03-13 17:31:10 +0000 |
commit | e731d30d90680b98237aaff7e655f26e942f468c (patch) | |
tree | f04bf166aca228c53af3a1cb2d4626f4889cbf61 /synapse/federation/transport/server.py | |
parent | Also bump dependency link version (diff) | |
parent | Merge remote-tracking branch 'origin/develop' into metrics (diff) | |
download | synapse-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.py | 4 |
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): |