]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Drop 2.4 compatibility.
authorMartin v. Löwis <martin@v.loewis.de>
Mon, 21 Dec 2009 19:25:56 +0000 (19:25 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Mon, 21 Dec 2009 19:25:56 +0000 (19:25 +0000)
PCbuild/build_ssl.py

index f24c9068ae0db9614cdd5548b717a4da5d859335..f6138361a6752eca4998cd41a32556fa8637209b 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")