summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2009-12-22 08:54:52 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2009-12-22 08:54:52 (GMT)
commitb90535f220da9eac6450c1a8abbeb6de35b5e458 (patch)
tree13d8d81a502af4ad037168950e5bae95b38808b8
parent65ff07b54840347706d42fa92e9ffd80888802af (diff)
downloadcpython-b90535f220da9eac6450c1a8abbeb6de35b5e458.zip
cpython-b90535f220da9eac6450c1a8abbeb6de35b5e458.tar.gz
cpython-b90535f220da9eac6450c1a8abbeb6de35b5e458.tar.bz2
Merged revisions 76989 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r76989 | martin.v.loewis | 2009-12-21 20:25:56 +0100 (Mo, 21 Dez 2009) | 1 line Drop 2.4 compatibility. ........
-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 7f3a5d0..5858d5d 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")