mirror of
https://gerrit.googlesource.com/git-repo
synced 2025-07-09 08:29:02 +00:00
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:
@ -388,7 +388,7 @@ def close_ssh():
|
||||
try:
|
||||
os.kill(p.pid, SIGTERM)
|
||||
p.wait()
|
||||
catch OSError:
|
||||
except OSError:
|
||||
pass
|
||||
_ssh_cache.clear()
|
||||
|
||||
|
Reference in New Issue
Block a user