Fix unbound local variable exception

(cherry picked from commit 503d7e62602cfe3ed63a4f44fba12874a17aa199)
This commit is contained in:
Jeff Forcier 2012-08-13 11:01:09 -07:00
parent 400ea089d5
commit 7ead8d9c70
1 changed files with 1 additions and 0 deletions

View File

@ -424,6 +424,7 @@ class SSHClient (object):
"""
saved_exception = None
two_factor = False
allowed_types = []
if pkey is not None:
try: