summary refs log tree commit diff
diff options
context:
space:
mode:
authorNeil Johnson <neil@matrix.org>2019-09-23 18:01:16 +0100
committerNeil Johnson <neil@matrix.org>2019-09-23 18:01:16 +0100
commit890bd6b66f00b4efbc4a30941a5827a9953292df (patch)
tree7c5d58fada1c2ac4fc4d1fd2242f91c3a8cf519f
parentupdate sample config (diff)
downloadsynapse-890bd6b66f00b4efbc4a30941a5827a9953292df.tar.xz
black
-rw-r--r--synapse/config/key.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/synapse/config/key.py b/synapse/config/key.py
index f1e80fb03e..e6133faf77 100644
--- a/synapse/config/key.py
+++ b/synapse/config/key.py
@@ -120,7 +120,10 @@ class KeyConfig(Config):
         else:
             key_servers = config.get("trusted_key_servers", [])
             for server in key_servers:
-                if server['server_name'] == 'matrix.org' and not suppress_key_server_warning:
+                if (
+                    server["server_name"] == "matrix.org"
+                    and not suppress_key_server_warning
+                ):
                     logger.warn(
                         """
                         This server is configured to use 'matrix.org' as its