summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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