[Checkins] SVN: zc.buildout/branches/env-cache/src/zc/buildout/easy_install.py Need to clear the dist cache for the path when raising an error
Ross Patterson
me at rpatterson.net
Sun Jan 29 05:23:45 UTC 2012
Log message for revision 124235:
Need to clear the dist cache for the path when raising an error
because of the point in the code path where easy_install reports on
finding and getting dists.
Changed:
U zc.buildout/branches/env-cache/src/zc/buildout/easy_install.py
-=-
Modified: zc.buildout/branches/env-cache/src/zc/buildout/easy_install.py
===================================================================
--- zc.buildout/branches/env-cache/src/zc/buildout/easy_install.py 2012-01-29 05:23:35 UTC (rev 124234)
+++ zc.buildout/branches/env-cache/src/zc/buildout/easy_install.py 2012-01-29 05:23:44 UTC (rev 124235)
@@ -886,6 +886,7 @@
if version not in requirement:
logger.error("The version, %s, is not consistent with the "
"requirement, %r.", version, str(requirement))
+ clear_dists(self._dest)
raise IncompatibleVersionError("Bad version", version)
requirement = pkg_resources.Requirement.parse(
More information about the checkins
mailing list