Merge pull request #39400 from meaksh/2016.3-fix-local-cache-issue

Prevents 'OSError' exception in case certain job cache path doesn't exist
This commit is contained in:
Mike Place 2017-02-14 11:27:03 -07:00 committed by GitHub
commit 1116d32df9

View file

@ -74,6 +74,9 @@ def _walk_through(job_dir):
for top in os.listdir(job_dir):
t_path = os.path.join(job_dir, top)
if not os.path.exists(t_path):
continue
for final in os.listdir(t_path):
load_path = os.path.join(t_path, final, LOAD_P)