[Checkins] SVN: zc.buildout/branches/help-api/ Made	easy_install.py's _get_version except non final releases of	Python, like 2.4.4c0. (hannosch)
    Godefroid Chapelle 
    gotcha at bubblenet.be
       
    Sun Mar 29 17:17:43 EDT 2009
    
    
  
Log message for revision 98473:
  Made easy_install.py's _get_version except non final releases of Python, like 2.4.4c0. (hannosch)
Changed:
  U   zc.buildout/branches/help-api/CHANGES.txt
  U   zc.buildout/branches/help-api/src/zc/buildout/easy_install.py
-=-
Modified: zc.buildout/branches/help-api/CHANGES.txt
===================================================================
--- zc.buildout/branches/help-api/CHANGES.txt	2009-03-29 21:17:36 UTC (rev 98472)
+++ zc.buildout/branches/help-api/CHANGES.txt	2009-03-29 21:17:43 UTC (rev 98473)
@@ -7,6 +7,9 @@
 1.0.1 (unreleased)
 ==================
 
+- Made easy_install.py's _get_version except non final releases of Python,
+  like 2.4.4c0. (hannosch)
+
 - applied patch fixing rmtree issues on Windows (patch by
   Gottfried Ganssauge) (ajung)
 
Modified: zc.buildout/branches/help-api/src/zc/buildout/easy_install.py
===================================================================
--- zc.buildout/branches/help-api/src/zc/buildout/easy_install.py	2009-03-29 21:17:36 UTC (rev 98472)
+++ zc.buildout/branches/help-api/src/zc/buildout/easy_install.py	2009-03-29 21:17:43 UTC (rev 98473)
@@ -67,7 +67,7 @@
         o.close()
         pystring, version = version.split()
         assert pystring == 'Python'
-        version = re.match('(\d[.]\d)([.]\d)?$', version).group(1)
+        version = re.match('(\d[.]\d)([.].*\d)?$', version).group(1)
         _versions[executable] = version
         return version
 
    
    
More information about the Checkins
mailing list