mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-01-20 01:51:28 -05:00
fix pep8
This commit is contained in:
parent
81d037dbd8
commit
0af58f14ee
@ -68,8 +68,7 @@ def check_3pid_allowed(hs, medium, address):
|
|||||||
for constraint in hs.config.registrations_require_3pid:
|
for constraint in hs.config.registrations_require_3pid:
|
||||||
logger.debug("Checking 3PID %s (%s) against %s (%s)" % (
|
logger.debug("Checking 3PID %s (%s) against %s (%s)" % (
|
||||||
address, medium, constraint['pattern'], constraint['medium']
|
address, medium, constraint['pattern'], constraint['medium']
|
||||||
)
|
))
|
||||||
)
|
|
||||||
if (
|
if (
|
||||||
medium == constraint['medium'] and
|
medium == constraint['medium'] and
|
||||||
re.match(constraint['pattern'], address)
|
re.match(constraint['pattern'], address)
|
||||||
|
Loading…
Reference in New Issue
Block a user