From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id E0C601387FF for ; Mon, 20 Oct 2014 20:46:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5FA2BE07F0; Mon, 20 Oct 2014 20:46:52 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 033C4E07F0 for ; Mon, 20 Oct 2014 20:46:51 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F0B38340269 for ; Mon, 20 Oct 2014 20:46:50 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 869E3857D for ; Mon, 20 Oct 2014 20:46:49 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <1413837881.d74cf2881d8c005ce99169460c938c142898f846.zmedico@gentoo> Subject: [gentoo-commits] proj/portage:plugin-sync commit in: pym/portage/sync/ X-VCS-Repository: proj/portage X-VCS-Files: pym/portage/sync/controller.py X-VCS-Directories: pym/portage/sync/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: d74cf2881d8c005ce99169460c938c142898f846 X-VCS-Branch: plugin-sync Date: Mon, 20 Oct 2014 20:46:49 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 00847c1d-f58b-4b21-8809-3a1195e663d3 X-Archives-Hash: 8a274688d91634125538167af4995f87 commit: d74cf2881d8c005ce99169460c938c142898f846 Author: Zac Medico gentoo org> AuthorDate: Mon Oct 20 20:44:41 2014 +0000 Commit: Zac Medico gentoo 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.