summary refs log tree commit diff
path: root/synapse/rest/client
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/rest/client')
-rw-r--r--synapse/rest/client/v2_alpha/_base.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/synapse/rest/client/v2_alpha/_base.py b/synapse/rest/client/v2_alpha/_base.py
index 7c46ef7cab..b286ff0d95 100644
--- a/synapse/rest/client/v2_alpha/_base.py
+++ b/synapse/rest/client/v2_alpha/_base.py
@@ -68,8 +68,7 @@ def check_3pid_allowed(hs, medium, address):
         for constraint in hs.config.registrations_require_3pid:
             logger.debug("Checking 3PID %s (%s) against %s (%s)" % (
                 address, medium, constraint['pattern'], constraint['medium']
-                )
-            )
+            ))
             if (
                 medium == constraint['medium'] and
                 re.match(constraint['pattern'], address)