summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2018-09-18 20:31:21 -0700
committerJeff Forcier <jeff@bitprophet.org>2018-09-18 20:31:21 -0700
commita5ce12d4830e9d3661d1e4ccddef18e112386ee1 (patch)
tree43a4f85ea5314c2173bddfd4f2154af673b6080e
parente6f98425994536ea82b558d0aea19562f68b5437 (diff)
Fix a Python 2.6 oops
-rw-r--r--paramiko/transport.py2
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)