summaryrefslogtreecommitdiffstats
path: root/pym/portage/cache/flat_hash.py
diff options
context:
space:
mode:
Diffstat (limited to 'pym/portage/cache/flat_hash.py')
-rw-r--r--pym/portage/cache/flat_hash.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/cache/flat_hash.py b/pym/portage/cache/flat_hash.py
index 49d7ce6a0..934115805 100644
--- a/pym/portage/cache/flat_hash.py
+++ b/pym/portage/cache/flat_hash.py
@@ -48,7 +48,7 @@ class database(fs_template.FsBased):
if '_mtime_' not in d:
# Backward compatibility with old cache
# that uses mtime mangling.
- d['_mtime_'] = long(_os.fstat(myf.fileno()).st_mtime)
+ d['_mtime_'] = _os.fstat(myf.fileno())[stat.ST_MTIME]
return d
finally:
myf.close()