summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2018-09-18 20:31:39 -0700
committerJeff Forcier <jeff@bitprophet.org>2018-09-18 20:31:39 -0700
commit49d1a60dc0ba8e62ba80d176c6e79cda184e6cb5 (patch)
treeed6f79f66c88d40f4110c76036f4a5956e6b781c
parent6f2d06cba1ef334072430d6269f5229a32a148e0 (diff)
parentf861ef079f5078c356d40421d45c8be170ef2c7a (diff)
Merge branch '2.1' into 2.2
-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)