From fb5c8fd948dea211cd8f43477855de44c273a1bf Mon Sep 17 00:00:00 2001 From: "Shawn O. Pearce" Date: Tue, 16 Jun 2009 14:57:46 -0700 Subject: [PATCH] Fix invalid use of try-catch Its try-except in Python. Signed-off-by: Shawn O. Pearce --- git_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git_config.py b/git_config.py index 36e8d939..a5b5b4d9 100644 --- a/git_config.py +++ b/git_config.py @@ -388,7 +388,7 @@ def close_ssh(): try: os.kill(p.pid, SIGTERM) p.wait() - catch OSError: + except OSError: pass _ssh_cache.clear()