summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2020-08-10 11:13:21 +0100
committerBrendan Abolivier <babolivier@matrix.org>2020-08-10 11:13:21 +0100
commit1a3aabcf3facd38f6d4c58fb4f55ad79450acefa (patch)
treea661fa36b1b2ba4b07318ef3cb72b9374587ab32 /synapse
parentwhy mypy why (diff)
downloadsynapse-1a3aabcf3facd38f6d4c58fb4f55ad79450acefa.tar.xz
Lint
Diffstat (limited to 'synapse')
-rw-r--r--synapse/config/server.py4
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: