summaryrefslogtreecommitdiffstats
path: root/PCbuild
diff options
context:
space:
mode:
Diffstat (limited to 'PCbuild')
-rw-r--r--PCbuild/build_ssl.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/PCbuild/build_ssl.py b/PCbuild/build_ssl.py
index f24c906..f613836 100644
--- a/PCbuild/build_ssl.py
+++ b/PCbuild/build_ssl.py
@@ -102,11 +102,8 @@ def create_makefile64(makefile, m32):
"""
if not os.path.isfile(m32):
return
- # 2.4 compatibility
- fin = open(m32)
- if 1: # with open(m32) as fin:
- fout = open(makefile, 'w')
- if 1: # with open(makefile, 'w') as fout:
+ with open(m32) as fin:
+ with open(makefile, 'w') as fout:
for line in fin:
line = line.replace("=tmp32", "=tmp64")
line = line.replace("=out32", "=out64")