You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Python: fix calls to os.makedirs to avoid existence check races (microsoft#6060)
In parallel builds of DXC, hctgen.py in particuilar would sometimes
throw an exception from os.makedirs because the directory would already
exist. The conditional check for file existence introduces a race when
running the script in parallel. Fix this, and all other cases where such
conditional checks were done, by using the `exist_ok = True` argument.
0 commit comments