Commit 1abda8ac authored by Jim Fulton's avatar Jim Fulton

Small change to deal with windows limitations.

parent 28bb9048
...@@ -1678,7 +1678,10 @@ def _check_blob_cache_size(blob_dir, target): ...@@ -1678,7 +1678,10 @@ def _check_blob_cache_size(blob_dir, target):
if size <= target: if size <= target:
if os.path.isfile(attempt_path): if os.path.isfile(attempt_path):
os.remove(attempt_path) try:
os.remove(attempt_path)
except OSError:
pass # Sigh, windows
continue continue
logger.debug("%s -->", thread.get_ident()) logger.debug("%s -->", thread.get_ident())
break break
......
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