[Checkins] SVN: zc.buildout/branches/env-cache/src/zc/buildout/easy_install.py No need to key on the executable since the env only takes the _get_env
Ross Patterson
me at rpatterson.net
Sat Jan 21 10:06:26 UTC 2012
Log message for revision 124116:
No need to key on the executable since the env only takes the _get_env
result.
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-21 08:54:49 UTC (rev 124115)
+++ zc.buildout/branches/env-cache/src/zc/buildout/easy_install.py 2012-01-21 10:06:22 UTC (rev 124116)
@@ -234,9 +234,9 @@
_envs = {}
def _get_env(executable, path=None):
- key = executable, tuple(path)
+ python = _get_version(executable)
+ key = python, tuple(path)
env = _envs.get(key)
- python = _get_version(executable)
if env is None:
_envs[key] = env = pkg_resources.Environment(
search_path=path, python=python)
More information about the checkins
mailing list