From c3f5ca10e6b484e87e30474f40afeb9779b8861d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Mon, 21 Dec 2009 19:25:56 +0000 Subject: [PATCH] Drop 2.4 compatibility. --- PCbuild/build_ssl.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/PCbuild/build_ssl.py b/PCbuild/build_ssl.py index f24c9068ae..f6138361a6 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") -- 2.50.1