[Checkins] SVN: zc.buildout/branches/env-cache/src/zc/buildout/easy_install.py Still need the dists cache to be cleared when the index cache is

Ross Patterson me at rpatterson.net
Sun Jan 29 05:23:25 UTC 2012


Log message for revision 124233:
  Still need the dists cache to be cleared when the index cache is

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:16 UTC (rev 124232)
+++ zc.buildout/branches/env-cache/src/zc/buildout/easy_install.py	2012-01-29 05:23:24 UTC (rev 124233)
@@ -262,7 +262,9 @@
         _dists.pop(key, None)
 
 
-clear_index_cache = _indexes.clear
+def clear_index_cache():
+    _indexes.clear()
+    _dists.clear()
 
 
 if is_win32:



More information about the checkins mailing list