summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorMatthew Hodgson <matthew@matrix.org>2018-01-19 00:33:51 +0000
committerMatthew Hodgson <matthew@matrix.org>2018-01-19 00:33:51 +0000
commit0af58f14ee351e7d52d7139df9218ff692764f20 (patch)
tree15071f553e6b2b37ad2e55218b667c3a95e2cfdc /synapse
parentmock registrations_require_3pid (diff)
downloadsynapse-0af58f14ee351e7d52d7139df9218ff692764f20.tar.xz
fix pep8
Diffstat (limited to 'synapse')
-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)