From 9707d5e3208c6248c376ecbdf0b330a892f97dc2 Mon Sep 17 00:00:00 2001 From: Kevin Froman Date: Wed, 18 Dec 2019 04:07:20 -0600 Subject: [PATCH] fix flake8 ofcommunication line len --- src/bigbrother/ministry/ofcommunication.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bigbrother/ministry/ofcommunication.py b/src/bigbrother/ministry/ofcommunication.py index 7c6452b1..ad4c0ffb 100644 --- a/src/bigbrother/ministry/ofcommunication.py +++ b/src/bigbrother/ministry/ofcommunication.py @@ -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