diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2017-10-10 14:41:59 -0700 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2017-10-10 14:41:59 -0700 |
commit | eea4f62f0fb5a14eece79565145fb5589008c7e1 (patch) | |
tree | ed4c2f0f166e424004e9dd52a2251f57e4890b54 /paramiko/ssh_gss.py | |
parent | 2f4766f7ef6442004fc9de72504de45bb577847b (diff) | |
download | paramiko-eea4f62f0fb5a14eece79565145fb5589008c7e1.tar.gz |
Use new(er)-style string formatting, {} instead of {0}
Diffstat (limited to 'paramiko/ssh_gss.py')
-rw-r--r-- | paramiko/ssh_gss.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/paramiko/ssh_gss.py b/paramiko/ssh_gss.py index 4d9aaa55..88dedf7e 100644 --- a/paramiko/ssh_gss.py +++ b/paramiko/ssh_gss.py @@ -284,7 +284,7 @@ class _SSH_GSSAPI(_SSH_GSSAuth): else: token = self._gss_ctxt.step(recv_token) except gssapi.GSSException: - message = "{0} Target: {1}".format( + message = "{} Target: {}".format( sys.exc_info()[1], self._gss_host) raise gssapi.GSSException(message) self._gss_ctxt_status = self._gss_ctxt.established |