summary refs log tree commit diff
path: root/synapse/federation/transport
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-11-09 10:06:42 +0000
committerErik Johnston <erik@matrix.org>2017-11-09 10:06:42 +0000
commit82e4bfb53da20402f1c62264ffb13ec2e3e85e48 (patch)
treeee3712f658974e07b8aa6dbe4263972b5f6e006f /synapse/federation/transport
parentHave an explicit API to update room config (diff)
downloadsynapse-82e4bfb53da20402f1c62264ffb13ec2e3e85e48.tar.xz
Add brackets
Diffstat (limited to 'synapse/federation/transport')
-rw-r--r--synapse/federation/transport/server.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/synapse/federation/transport/server.py b/synapse/federation/transport/server.py
index 6ef6cce592..2b02b021ec 100644
--- a/synapse/federation/transport/server.py
+++ b/synapse/federation/transport/server.py
@@ -706,8 +706,10 @@ class FederationGroupsAddRoomsServlet(BaseFederationServlet):
 class FederationGroupsAddRoomsConfigServlet(BaseFederationServlet):
     """Update room config in group
     """
-    PATH = "/groups/(?P<group_id>[^/]*)/room/(?P<room_id>[^/]*)"
-    "/config/(?P<config_key>[^/]*)$"
+    PATH = (
+        "/groups/(?P<group_id>[^/]*)/room/(?P<room_id>[^/]*)"
+        "/config/(?P<config_key>[^/]*)$"
+    )
 
     @defer.inlineCallbacks
     def on_POST(self, origin, content, query, group_id, room_id, config_key):