Commit fdcdaadc authored by Jim Fulton's avatar Jim Fulton

atimes can be floats. I'm surprized how long it took for this to fail.

parent 9308fbfe
......@@ -1641,7 +1641,7 @@ def _check_blob_cache_size(blob_dir, target):
continue
stat = os.stat(file_name)
size += stat.st_size
t = stat.st_atime
t = int(stat.st_atime)
if t not in files_by_atime:
files_by_atime[t] = []
files_by_atime[t].append(file_name)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment