diff options
author | Zac Medico <zmedico@gentoo.org> | 2011-10-29 23:20:53 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2011-10-29 23:20:53 -0700 |
commit | 102d958c4017854965229d186fbaaf6167c9d2f2 (patch) | |
tree | fa3eb66db3bcc00eb44d0a0fff032b21d9a2d9aa | |
parent | 9347995ce3f657263e9216eed34a876a5c02c3d2 (diff) | |
download | portage-102d958c4017854965229d186fbaaf6167c9d2f2.tar.gz portage-102d958c4017854965229d186fbaaf6167c9d2f2.tar.bz2 portage-102d958c4017854965229d186fbaaf6167c9d2f2.zip |
git_sync_timestamps: validation_chf == mtime
-rw-r--r-- | pym/_emerge/actions.py | 3 |
1 files changed, 1 insertions, 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 |