summaryrefslogtreecommitdiffstats
path: root/PCbuild
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2009-12-21 19:25:56 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2009-12-21 19:25:56 (GMT)
commitc3f5ca10e6b484e87e30474f40afeb9779b8861d (patch)
treeb7525ecfb30f3b0639e3d5a1529c83053ac1e40b /PCbuild
parent2ba1e9ceb89bb48f04fc6cd27b759f0489f72fee (diff)
downloadcpython-c3f5ca10e6b484e87e30474f40afeb9779b8861d.zip
cpython-c3f5ca10e6b484e87e30474f40afeb9779b8861d.tar.gz
cpython-c3f5ca10e6b484e87e30474f40afeb9779b8861d.tar.bz2
Drop 2.4 compatibility.
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")