commit:     d74cf2881d8c005ce99169460c938c142898f846
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 20 20:44:41 2014 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Mon Oct 20 20:44:41 2014 +0000
URL:        
http://sources.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=d74cf288

_sync_callback: check for md5-cache, not cache

This fixes FEATURES=metadata-transfer to work again now that the
metadata/cache directory has been replaced with metadata/md5-cache.

---
 pym/portage/sync/controller.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/pym/portage/sync/controller.py b/pym/portage/sync/controller.py
index a88d4c5..0b308e8 100644
--- a/pym/portage/sync/controller.py
+++ b/pym/portage/sync/controller.py
@@ -226,7 +226,8 @@ class SyncManager(object):
                        updatecache_flg = False
 
                if updatecache_flg and \
-                       os.path.exists(os.path.join(self.repo.location, 
'metadata', 'cache')):
+                       os.path.exists(os.path.join(
+                       self.repo.location, 'metadata', 'md5-cache')):
 
                        # Only update cache for repo.location since that's
                        # the only one that's been synced here.

Reply via email to