diff options
Diffstat (limited to 'pym/cache/flat_list.py')
-rw-r--r-- | pym/cache/flat_list.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/cache/flat_list.py b/pym/cache/flat_list.py index 0cd3edb0e..65fe5a781 100644 --- a/pym/cache/flat_list.py +++ b/pym/cache/flat_list.py @@ -35,7 +35,8 @@ class database(fs_template.FsBased): raise KeyError(cpv) raise cache_errors.CacheCorruption(cpv, e) - try: d["_mtime_"] = os.fstat(myf.fileno()).st_mtime + try: + d["_mtime_"] = long(os.fstat(myf.fileno()).st_mtime) except OSError, e: myf.close() raise cache_errors.CacheCorruption(cpv, e) |