diff options
author | David Baker <dave@matrix.org> | 2016-06-01 09:48:55 +0100 |
---|---|---|
committer | David Baker <dave@matrix.org> | 2016-06-01 09:48:55 +0100 |
commit | 6ecb2ca4ec3fae8c6f2e837b4ec99cc6929de638 (patch) | |
tree | be058099fae97088c75bfa1fa880ffd970675f02 /synapse/federation | |
parent | Add cache to remote room lists (diff) | |
download | synapse-6ecb2ca4ec3fae8c6f2e837b4ec99cc6929de638.tar.xz |
pep8
Diffstat (limited to 'synapse/federation')
-rw-r--r-- | synapse/federation/transport/server.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/synapse/federation/transport/server.py b/synapse/federation/transport/server.py index da9e7a326d..a1a334955f 100644 --- a/synapse/federation/transport/server.py +++ b/synapse/federation/transport/server.py @@ -134,7 +134,8 @@ class Authenticator(object): class BaseFederationServlet(object): - def __init__(self, handler, authenticator, ratelimiter, server_name, room_list_handler): + def __init__(self, handler, authenticator, ratelimiter, server_name, + room_list_handler): self.handler = handler self.authenticator = authenticator self.ratelimiter = ratelimiter @@ -492,6 +493,7 @@ class OpenIdUserInfo(BaseFederationServlet): def _wrap(self, code): return code + class PublicRoomList(BaseFederationServlet): """ Fetch the public room list for this server. |