summaryrefslogtreecommitdiffhomepage
path: root/paramiko/transport.py
diff options
context:
space:
mode:
Diffstat (limited to 'paramiko/transport.py')
-rw-r--r--paramiko/transport.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/paramiko/transport.py b/paramiko/transport.py
index 08066901..9517d4a9 100644
--- a/paramiko/transport.py
+++ b/paramiko/transport.py
@@ -1984,7 +1984,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)