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:
parent
26120ca18d
commit
fb5c8fd948
1 changed files with 1 additions and 1 deletions
|
@ -388,7 +388,7 @@ def close_ssh():
|
|||
try:
|
||||
os.kill(p.pid, SIGTERM)
|
||||
p.wait()
|
||||
catch OSError:
|
||||
except OSError:
|
||||
pass
|
||||
_ssh_cache.clear()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue