[Checkins] SVN: zc.buildout/branches/env-cache/src/zc/buildout/easy_install.py We can just update the env instead of removing the cached env

Ross Patterson me at rpatterson.net
Sat Jan 21 10:06:45 UTC 2012


Log message for revision 124118:
  We can just update the env instead of removing the cached env

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 10:06:36 UTC (rev 124117)
+++ zc.buildout/branches/env-cache/src/zc/buildout/easy_install.py	2012-01-21 10:06:45 UTC (rev 124118)
@@ -1196,7 +1196,7 @@
         for key in _envs.keys():
             cached_python, cached_path = key
             if cached_python == python and dest in cached_path:
-                del _envs[key]
+                _envs[key].scan([dest])
         return result
 
     finally:



More information about the checkins mailing list