Explorar o código

Fix invalid use of try-catch

Its try-except in Python.

Signed-off-by: Shawn O. Pearce <sop@google.com>
Shawn O. Pearce %!s(int64=16) %!d(string=hai) anos
pai
achega
fb5c8fd948
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      git_config.py

+ 1 - 1
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()