diff options
-rw-r--r-- | paramiko/transport.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/paramiko/transport.py b/paramiko/transport.py index 82914559..04996a3d 100644 --- a/paramiko/transport.py +++ b/paramiko/transport.py @@ -1965,7 +1965,7 @@ class Transport(threading.Thread, ClosingContextManager): # itself literally MSG_UNIMPLEMENTED, in which case, we # just shut up to avoid causing a useless loop). name = MSG_NAMES[ptype] - warning = "Oops, unhandled type {} ({!r})".format( + warning = "Oops, unhandled type {0} ({1!r})".format( ptype, name ) self._log(WARNING, warning) |