Fix invalid use of try-catch

Its try-except in Python.

Signed-off-by: Shawn O. Pearce <sop@google.com>
This commit is contained in:
Shawn O. Pearce 2009-06-16 14:57:46 -07:00
parent 26120ca18d
commit fb5c8fd948

View File

@ -388,7 +388,7 @@ def close_ssh():
try: try:
os.kill(p.pid, SIGTERM) os.kill(p.pid, SIGTERM)
p.wait() p.wait()
catch OSError: except OSError:
pass pass
_ssh_cache.clear() _ssh_cache.clear()