Drop 2.4 compatibility.

This commit is contained in:
Martin v. Löwis 2009-12-21 19:25:56 +00:00
parent 2ba1e9ceb8
commit c3f5ca10e6
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")