From: Burkov Egor Date: Wed, 5 Mar 2025 17:08:30 +0000 (+0300) Subject: gh-130878: Add extra check to prepare_ssl.py (GH-130879) X-Git-Tag: v3.14.0a6~145 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2904ec2273762df58645a8e245b2281884855b8c;p=thirdparty%2FPython%2Fcpython.git gh-130878: Add extra check to prepare_ssl.py (GH-130879) --- diff --git a/PCbuild/prepare_ssl.py b/PCbuild/prepare_ssl.py index 0f3c63ee24ff..0461167e0d2c 100755 --- a/PCbuild/prepare_ssl.py +++ b/PCbuild/prepare_ssl.py @@ -70,7 +70,8 @@ def copy_includes(makefile, suffix): try: os.makedirs(dir) except OSError: - pass + if not os.path.isdir(dir): + raise copy_if_different = r'$(PERL) $(SRC_D)\util\copy-if-different.pl' with open(makefile) as fin: for line in fin: