From ccce8747ac9170ce98d535ef527caa8867e5eef4 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 19 Mar 2023 11:19:03 +0100 Subject: Adding upstream version 3.2.0. Signed-off-by: Daniel Baumann --- pre_commit/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pre_commit/util.py') diff --git a/pre_commit/util.py b/pre_commit/util.py index ea0d4f5..4f8e835 100644 --- a/pre_commit/util.py +++ b/pre_commit/util.py @@ -119,7 +119,7 @@ def cmd_output(*cmd: str, **kwargs: Any) -> tuple[int, str, str | None]: return returncode, stdout, stderr -if os.name != 'nt': # pragma: win32 no cover +if sys.platform != 'win32': # pragma: win32 no cover from os import openpty import termios -- cgit v1.2.3