Skip to content

Commit 30a0005

Browse files
committed
lint: format log statements
1 parent 814a9de commit 30a0005

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

zmq/ssh/forward.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,17 @@ def handle(self):
4747
)
4848
except Exception as e:
4949
logger.debug(
50-
'Incoming request to %s:%d failed: %s'
51-
% (self.chain_host, self.chain_port, repr(e))
50+
'Incoming request to %s:%d failed: %r',
51+
self.chain_host,
52+
self.chain_port,
53+
e,
5254
)
5355
return
5456
if chan is None:
5557
logger.debug(
56-
'Incoming request to %s:%d was rejected by the SSH server.'
57-
% (self.chain_host, self.chain_port)
58+
'Incoming request to %s:%d was rejected by the SSH server.',
59+
self.chain_host,
60+
self.chain_port,
5861
)
5962
return
6063

0 commit comments

Comments
 (0)