From: Martin v. Löwis Date: Tue, 22 Dec 2009 08:54:52 +0000 (+0000) Subject: Merged revisions 76989 via svnmerge from X-Git-Tag: v3.2a1~1981 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b90535f220da9eac6450c1a8abbeb6de35b5e458;p=thirdparty%2FPython%2Fcpython.git 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. ........ --- diff --git a/PCbuild/build_ssl.py b/PCbuild/build_ssl.py index 7f3a5d0d3fe1..5858d5db43ff 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")