fix a couple of pcheck warnings
This commit is contained in:
parent
2b8738d3ce
commit
b23079b135
|
@ -494,6 +494,7 @@ class Transport (threading.Thread):
|
|||
try:
|
||||
return self.server_key_dict[self.host_key_type]
|
||||
except KeyError:
|
||||
pass
|
||||
return None
|
||||
|
||||
def load_server_moduli(filename=None):
|
||||
|
|
|
@ -47,6 +47,7 @@ def _get_pageant_window_object():
|
|||
hwnd = win32ui.FindWindow('Pageant', 'Pageant')
|
||||
return hwnd
|
||||
except win32ui.error:
|
||||
pass
|
||||
return None
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue