diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2017-10-10 17:10:22 -0700 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2017-10-10 17:10:22 -0700 |
commit | 9019b25497c2b143e06da6a393e24b67bfc848f0 (patch) | |
tree | 35bf9af38e9e6a6bd888119c5c03ead36192ce76 /paramiko/client.py | |
parent | c58a5bd649ebeb0439004daf2cc9f442edeb43e7 (diff) | |
download | paramiko-9019b25497c2b143e06da6a393e24b67bfc848f0.tar.gz |
Use set literals
Diffstat (limited to 'paramiko/client.py')
-rw-r--r-- | paramiko/client.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/paramiko/client.py b/paramiko/client.py index e5931d09..2808d228 100644 --- a/paramiko/client.py +++ b/paramiko/client.py @@ -571,7 +571,7 @@ class SSHClient (ClosingContextManager): saved_exception = None two_factor = False allowed_types = set() - two_factor_types = set(['keyboard-interactive', 'password']) + two_factor_types = {'keyboard-interactive', 'password'} # If GSS-API support and GSS-PI Key Exchange was performed, we attempt # authentication with gssapi-keyex. |