1 |
commit: b7596a9efe18011f71cee32006843edd4e72f46c |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Oct 20 20:44:41 2014 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Dec 1 21:49:41 2014 +0000 |
6 |
URL: http://sources.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=b7596a9e |
7 |
|
8 |
_sync_callback: check for md5-cache, not cache |
9 |
|
10 |
This fixes FEATURES=metadata-transfer to work again now that the |
11 |
metadata/cache directory has been replaced with metadata/md5-cache. |
12 |
|
13 |
--- |
14 |
pym/portage/sync/controller.py | 3 ++- |
15 |
1 file changed, 2 insertions(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/pym/portage/sync/controller.py b/pym/portage/sync/controller.py |
18 |
index a88d4c5..0b308e8 100644 |
19 |
--- a/pym/portage/sync/controller.py |
20 |
+++ b/pym/portage/sync/controller.py |
21 |
@@ -226,7 +226,8 @@ class SyncManager(object): |
22 |
updatecache_flg = False |
23 |
|
24 |
if updatecache_flg and \ |
25 |
- os.path.exists(os.path.join(self.repo.location, 'metadata', 'cache')): |
26 |
+ os.path.exists(os.path.join( |
27 |
+ self.repo.location, 'metadata', 'md5-cache')): |
28 |
|
29 |
# Only update cache for repo.location since that's |
30 |
# the only one that's been synced here. |