aboutsummaryrefslogtreecommitdiffstats
path: root/netlib/tcp.py
diff options
context:
space:
mode:
Diffstat (limited to 'netlib/tcp.py')
-rw-r--r--netlib/tcp.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/netlib/tcp.py b/netlib/tcp.py
index ede8682b..2704eeae 100644
--- a/netlib/tcp.py
+++ b/netlib/tcp.py
@@ -494,10 +494,13 @@ class TCPServer(object):
# none.
if traceback:
exc = traceback.format_exc()
- print('-' * 40, file=fp)
- print("Error in processing of request from %s:%s" % (client_address.host, client_address.port), file=fp)
+ print('-'*40, file=fp)
+ print(
+ "Error in processing of request from %s:%s" % (
+ client_address.host, client_address.port
+ ), file=fp)
print(exc, file=fp)
- print('-' * 40, file=fp)
+ print('-'*40, file=fp)
def handle_client_connection(self, conn, client_address): # pragma: no cover
"""