summary refs log tree commit diff
path: root/synapse/handlers/register.py
diff options
context:
space:
mode:
authorAmber Brown <hawkowl@atleastfornow.net>2019-11-01 02:43:24 +1100
committerGitHub <noreply@github.com>2019-11-01 02:43:24 +1100
commit020add50997f697c7847ac84b86b457ba2f3e32d (patch)
tree4fe9abbcd1cac11bfe9077a85ceabd7bf9ea94ce /synapse/handlers/register.py
parentMerge pull request #6294 from matrix-org/erikj/add_state_storage (diff)
downloadsynapse-020add50997f697c7847ac84b86b457ba2f3e32d.tar.xz
Update black to 19.10b0 (#6304)
* update version of black and also fix the mypy config being overridden
Diffstat (limited to 'synapse/handlers/register.py')
-rw-r--r--synapse/handlers/register.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/handlers/register.py b/synapse/handlers/register.py
index 53410f120b..cff6b0d375 100644
--- a/synapse/handlers/register.py
+++ b/synapse/handlers/register.py
@@ -396,8 +396,8 @@ class RegistrationHandler(BaseHandler):
             room_id = room_identifier
         elif RoomAlias.is_valid(room_identifier):
             room_alias = RoomAlias.from_string(room_identifier)
-            room_id, remote_room_hosts = (
-                yield room_member_handler.lookup_room_alias(room_alias)
+            room_id, remote_room_hosts = yield room_member_handler.lookup_room_alias(
+                room_alias
             )
             room_id = room_id.to_string()
         else: