mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-17 13:44:21 -05:00
Lint
This commit is contained in:
parent
cee6c6012e
commit
1a3aabcf3f
@ -541,8 +541,8 @@ class ServerConfig(Config):
|
|||||||
raise ConfigError("'users_new_default_push_rules' must be a list")
|
raise ConfigError("'users_new_default_push_rules' must be a list")
|
||||||
|
|
||||||
# Turn the list into a set to improve lookup speed.
|
# Turn the list into a set to improve lookup speed.
|
||||||
self.users_new_default_push_rules = (
|
self.users_new_default_push_rules = set(
|
||||||
set(self.users_new_default_push_rules)
|
self.users_new_default_push_rules
|
||||||
) # type: set
|
) # type: set
|
||||||
|
|
||||||
def has_tls_listener(self) -> bool:
|
def has_tls_listener(self) -> bool:
|
||||||
|
Loading…
Reference in New Issue
Block a user