diff options
author | Brendan Abolivier <babolivier@matrix.org> | 2020-08-10 11:13:21 +0100 |
---|---|---|
committer | Brendan Abolivier <babolivier@matrix.org> | 2020-08-10 11:13:21 +0100 |
commit | 1a3aabcf3facd38f6d4c58fb4f55ad79450acefa (patch) | |
tree | a661fa36b1b2ba4b07318ef3cb72b9374587ab32 /synapse/config/server.py | |
parent | why mypy why (diff) | |
download | synapse-1a3aabcf3facd38f6d4c58fb4f55ad79450acefa.tar.xz |
Lint
Diffstat (limited to '')
-rw-r--r-- | synapse/config/server.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/config/server.py b/synapse/config/server.py index 493d2bd513..b5c2098ecb 100644 --- a/synapse/config/server.py +++ b/synapse/config/server.py @@ -541,8 +541,8 @@ class ServerConfig(Config): raise ConfigError("'users_new_default_push_rules' must be a list") # Turn the list into a set to improve lookup speed. - self.users_new_default_push_rules = ( - set(self.users_new_default_push_rules) + self.users_new_default_push_rules = set( + self.users_new_default_push_rules ) # type: set def has_tls_listener(self) -> bool: |