From 102d958c4017854965229d186fbaaf6167c9d2f2 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 29 Oct 2011 23:20:53 -0700 Subject: git_sync_timestamps: validation_chf == mtime --- pym/_emerge/actions.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pym/_emerge/actions.py b/pym/_emerge/actions.py index 911d5ec2e..af3780e70 100644 --- a/pym/_emerge/actions.py +++ b/pym/_emerge/actions.py @@ -2850,8 +2850,7 @@ def git_sync_timestamps(portdb, portdir): if cache_db is None: return os.EX_OK - from portage.cache.metadata import database as pms_database - if not isinstance(cache_db, pms_database): + if cache_db.validation_chf != 'mtime': # newer formats like md5-dict do not require mtime sync return os.EX_OK -- cgit v1.2.3-1-g7c22