diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2017-09-13 09:13:59 -0700 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2017-09-13 09:14:59 -0700 |
commit | fe05754f004ce78d03ebbee5e68425e1959944ca (patch) | |
tree | fd017e30c6fc22af392462e5e95f3b87b7f46a76 /paramiko/client.py | |
parent | 1217df3c80a43384a647158a9eefc1d7bcc25f82 (diff) | |
download | paramiko-fe05754f004ce78d03ebbee5e68425e1959944ca.tar.gz |
More formatting
Diffstat (limited to 'paramiko/client.py')
-rw-r--r-- | paramiko/client.py | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/paramiko/client.py b/paramiko/client.py index e9099851..998e0166 100644 --- a/paramiko/client.py +++ b/paramiko/client.py @@ -407,8 +407,10 @@ class SSHClient (ClosingContextManager): else: key_filenames = key_filename - self._auth(username, password, pkey, key_filenames, allow_agent, - look_for_keys, gss_auth, gss_kex, gss_deleg_creds, t.gss_host) + self._auth( + username, password, pkey, key_filenames, allow_agent, + look_for_keys, gss_auth, gss_kex, gss_deleg_creds, t.gss_host, + ) def close(self): """ @@ -582,9 +584,9 @@ class SSHClient (ClosingContextManager): # why should we do that again? if gss_auth: try: - self._transport.auth_gssapi_with_mic(username, gss_host, - gss_deleg_creds) - return + return self._transport.auth_gssapi_with_mic( + username, gss_host, gss_deleg_creds, + ) except Exception as e: saved_exception = e |