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,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):
"""

View File

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