fix a couple of pcheck warnings
This commit is contained in:
Robey Pointer 2006-08-28 18:22:31 -07:00
parent 2b8738d3ce
commit b23079b135
2 changed files with 4 additions and 2 deletions

View File

@ -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):

View File

@ -47,6 +47,7 @@ def _get_pageant_window_object():
hwnd = win32ui.FindWindow('Pageant', 'Pageant')
return hwnd
except win32ui.error:
pass
return None