summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2019-04-10 12:23:47 +0100
committerAndrew Morgan <andrew@amorgan.xyz>2019-04-10 12:23:47 +0100
commit1b3989bcc4223b1f2ffbae78650774363e7b25fc (patch)
treeba8a920d208dde051892dc22c78394e63824514e
parentDon't raise an exception if coming from federation (diff)
downloadsynapse-1b3989bcc4223b1f2ffbae78650774363e7b25fc.tar.xz
lint
-rw-r--r--synapse/http/client.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/http/client.py b/synapse/http/client.py

index ff003a9255..12287fb4ec 100644 --- a/synapse/http/client.py +++ b/synapse/http/client.py
@@ -112,7 +112,8 @@ class IPBlacklistingResolver(object): "Dropped %s from DNS resolution to %s" % (ip_address, hostname) ) if not self._from_federation: - raise SynapseError(403, "IP address blocked by IP blacklist entry") + raise SynapseError(403, + "IP address blocked by IP blacklist entry") return addresses.append(address)