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.
........
This commit is contained in:
Martin v. Löwis 2009-12-22 08:54:52 +00:00
parent 65ff07b548
commit b90535f220
1 changed files with 2 additions and 5 deletions

View File

@ -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")