Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
8c9d99ff
Commit
8c9d99ff
authored
Sep 05, 2016
by
Zachary Ware
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #27407: Make PCbuild/prepare_ssl.py Python 2 compatible
parent
bdddb11b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
PCbuild/prepare_ssl.py
PCbuild/prepare_ssl.py
+6
-1
No files found.
PCbuild/prepare_ssl.py
View file @
8c9d99ff
...
@@ -18,6 +18,8 @@
...
@@ -18,6 +18,8 @@
# it should configure OpenSSL such that it is ready to be built by
# it should configure OpenSSL such that it is ready to be built by
# ssl.vcxproj on 32 or 64 bit platforms.
# ssl.vcxproj on 32 or 64 bit platforms.
from
__future__
import
print_function
import
os
import
os
import
re
import
re
import
sys
import
sys
...
@@ -89,7 +91,10 @@ def create_asms(makefile, tmp_d):
...
@@ -89,7 +91,10 @@ def create_asms(makefile, tmp_d):
def
copy_includes
(
makefile
,
suffix
):
def
copy_includes
(
makefile
,
suffix
):
dir
=
'include'
+
suffix
+
'
\
\
openssl'
dir
=
'include'
+
suffix
+
'
\
\
openssl'
os
.
makedirs
(
dir
,
exist_ok
=
True
)
try
:
os
.
makedirs
(
dir
)
except
OSError
:
pass
copy_if_different
=
r'$(PERL) $(SRC_D)\
u
til\
copy-i
f-different.pl'
copy_if_different
=
r'$(PERL) $(SRC_D)\
u
til\
copy-i
f-different.pl'
with
open
(
makefile
)
as
fin
:
with
open
(
makefile
)
as
fin
:
for
line
in
fin
:
for
line
in
fin
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment