commit: 7f0072b2ebc700ecdb1cce8ca11f8e840e778cef 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: Tue Oct 21 05:04:08 2014 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=7f0072b2
_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.