[Python-checkins] r76989 - python/trunk/PCbuild/build_ssl.py

martin.v.loewis python-checkins at python.org
Mon Dec 21 20:25:56 CET 2009


Author: martin.v.loewis
Date: Mon Dec 21 20:25:56 2009
New Revision: 76989

Log:
Drop 2.4 compatibility.

Modified:
   python/trunk/PCbuild/build_ssl.py

Modified: python/trunk/PCbuild/build_ssl.py
==============================================================================
--- python/trunk/PCbuild/build_ssl.py	(original)
+++ python/trunk/PCbuild/build_ssl.py	Mon Dec 21 20:25:56 2009
@@ -102,11 +102,8 @@
     """
     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")


More information about the Python-checkins mailing list