summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2011-10-29 23:20:53 -0700
committerZac Medico <zmedico@gentoo.org>2011-10-29 23:20:53 -0700
commit102d958c4017854965229d186fbaaf6167c9d2f2 (patch)
treefa3eb66db3bcc00eb44d0a0fff032b21d9a2d9aa
parent9347995ce3f657263e9216eed34a876a5c02c3d2 (diff)
downloadportage-102d958c4017854965229d186fbaaf6167c9d2f2.tar.gz
portage-102d958c4017854965229d186fbaaf6167c9d2f2.tar.bz2
portage-102d958c4017854965229d186fbaaf6167c9d2f2.zip
git_sync_timestamps: validation_chf == mtime
-rw-r--r--pym/_emerge/actions.py3
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