Fix unbound local variable exception
(cherry picked from commit 503d7e62602cfe3ed63a4f44fba12874a17aa199)
This commit is contained in:
parent
400ea089d5
commit
7ead8d9c70
|
@ -424,6 +424,7 @@ class SSHClient (object):
|
||||||
"""
|
"""
|
||||||
saved_exception = None
|
saved_exception = None
|
||||||
two_factor = False
|
two_factor = False
|
||||||
|
allowed_types = []
|
||||||
|
|
||||||
if pkey is not None:
|
if pkey is not None:
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue