1 |
commit: 102d958c4017854965229d186fbaaf6167c9d2f2 |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Oct 30 06:20:53 2011 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 30 06:20:53 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=102d958c |
7 |
|
8 |
git_sync_timestamps: validation_chf == mtime |
9 |
|
10 |
--- |
11 |
pym/_emerge/actions.py | 3 +-- |
12 |
1 files changed, 1 insertions(+), 2 deletions(-) |
13 |
|
14 |
diff --git a/pym/_emerge/actions.py b/pym/_emerge/actions.py |
15 |
index 911d5ec..af3780e 100644 |
16 |
--- a/pym/_emerge/actions.py |
17 |
+++ b/pym/_emerge/actions.py |
18 |
@@ -2850,8 +2850,7 @@ def git_sync_timestamps(portdb, portdir): |
19 |
if cache_db is None: |
20 |
return os.EX_OK |
21 |
|
22 |
- from portage.cache.metadata import database as pms_database |
23 |
- if not isinstance(cache_db, pms_database): |
24 |
+ if cache_db.validation_chf != 'mtime': |
25 |
# newer formats like md5-dict do not require mtime sync |
26 |
return os.EX_OK |