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