fix flake8 ofcommunication line len

This commit is contained in:
Kevin Froman 2019-12-18 04:07:20 -06:00
parent aa51a2fea6
commit 9707d5e320

View File

@ -36,7 +36,8 @@ def detect_socket_leaks(socket_event):
ipaddress.ip_address(ip_address)
except ValueError:
logger.warn(f'Conn made to {ip_address} outside of Tor/similar')
raise NetworkLeak('Conn to non local IP, this is a privacy concern!')
raise \
NetworkLeak('Conn to host/non local IP, this is a privacy issue!')
# Validate that the IP is localhost ipv4