summaryrefslogtreecommitdiff
path: root/paramiko/ecdsakey.py
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2017-10-10 14:41:59 -0700
committerJeff Forcier <jeff@bitprophet.org>2017-10-10 14:41:59 -0700
commiteea4f62f0fb5a14eece79565145fb5589008c7e1 (patch)
treeed4c2f0f166e424004e9dd52a2251f57e4890b54 /paramiko/ecdsakey.py
parent2f4766f7ef6442004fc9de72504de45bb577847b (diff)
downloadparamiko-eea4f62f0fb5a14eece79565145fb5589008c7e1.tar.gz
Use new(er)-style string formatting, {} instead of {0}
Diffstat (limited to 'paramiko/ecdsakey.py')
-rw-r--r--paramiko/ecdsakey.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/paramiko/ecdsakey.py b/paramiko/ecdsakey.py
index 1bb5676f..819e1d6a 100644
--- a/paramiko/ecdsakey.py
+++ b/paramiko/ecdsakey.py
@@ -134,7 +134,7 @@ class ECDSAKey(PKey):
)
key_types = self._ECDSA_CURVES.get_key_format_identifier_list()
cert_types = [
- '{0}-cert-v01@openssh.com'.format(x)
+ '{}-cert-v01@openssh.com'.format(x)
for x in key_types
]
self._check_type_and_load_cert(