Commit ed69a310 authored by hannosch's avatar hannosch

Made easy_install.py's _get_version except non final releases of Python, like 2.4.4c0. (hannosch)


git-svn-id: http://svn.zope.org/repos/main/zc.buildout/trunk@84641 62d5b8a3-27da-0310-9561-8e5933582275
parent d77458a0
......@@ -7,6 +7,9 @@ Change History
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)
......
......@@ -67,7 +67,7 @@ def _get_version(executable):
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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment