]> granicus.if.org Git - python/commitdiff
Merged revisions 76989 via svnmerge from
authorMartin v. Löwis <martin@v.loewis.de>
Tue, 22 Dec 2009 08:54:52 +0000 (08:54 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Tue, 22 Dec 2009 08:54:52 +0000 (08:54 +0000)
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.
........

PCbuild/build_ssl.py

index 7f3a5d0d3fe1f60c886982fa48bbf5cc31e54d7b..5858d5db43ff3f5bed0859b49c74006fa15d596f 100644 (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")