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