diff options
author | Burkov Egor <eburkov@rvision.ru> | 2025-03-05 20:08:30 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-05 17:08:30 +0000 |
commit | 2904ec2273762df58645a8e245b2281884855b8c (patch) | |
tree | de5581f8e9ebd7e2c547dd4ab2a264cd707a3102 | |
parent | 4f6218959e35f649061484cce9de7fc810586533 (diff) | |
download | cpython-2904ec2273762df58645a8e245b2281884855b8c.tar.gz cpython-2904ec2273762df58645a8e245b2281884855b8c.zip |
gh-130878: Add extra check to prepare_ssl.py (GH-130879)
-rwxr-xr-x | PCbuild/prepare_ssl.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/PCbuild/prepare_ssl.py b/PCbuild/prepare_ssl.py index 0f3c63ee24f..0461167e0d2 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: |