From: Zac Medico Date: Sun, 30 Oct 2011 06:20:53 +0000 (-0700) Subject: git_sync_timestamps: validation_chf == mtime X-Git-Tag: v2.2.0_alpha72~4 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=102d958c4017854965229d186fbaaf6167c9d2f2;p=portage.git git_sync_timestamps: validation_chf == mtime --- 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