mirror of
https://mau.dev/maunium/synapse.git
synced 2024-11-11 20:42:23 +01:00
pep8
This commit is contained in:
parent
2a449fec4d
commit
6ecb2ca4ec
1 changed files with 3 additions and 1 deletions
|
@ -134,7 +134,8 @@ class Authenticator(object):
|
||||||
|
|
||||||
|
|
||||||
class BaseFederationServlet(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.handler = handler
|
||||||
self.authenticator = authenticator
|
self.authenticator = authenticator
|
||||||
self.ratelimiter = ratelimiter
|
self.ratelimiter = ratelimiter
|
||||||
|
@ -492,6 +493,7 @@ class OpenIdUserInfo(BaseFederationServlet):
|
||||||
def _wrap(self, code):
|
def _wrap(self, code):
|
||||||
return code
|
return code
|
||||||
|
|
||||||
|
|
||||||
class PublicRoomList(BaseFederationServlet):
|
class PublicRoomList(BaseFederationServlet):
|
||||||
"""
|
"""
|
||||||
Fetch the public room list for this server.
|
Fetch the public room list for this server.
|
||||||
|
|
Loading…
Reference in a new issue