##// END OF EJS Templates
Backport PR #13334: Fix race condition in paths.get_ipython_dirs()
Matthias Bussonnier -
Show More
@@ -67,7 +67,7 b' def get_ipython_dir() -> str:'
67 67 " using a temp directory.".format(parent))
68 68 ipdir = tempfile.mkdtemp()
69 69 else:
70 os.makedirs(ipdir)
70 os.makedirs(ipdir, exist_ok=True)
71 71 assert isinstance(ipdir, str), "all path manipulation should be str(unicode), but are not."
72 72 return ipdir
73 73
General Comments 0
You need to be logged in to leave comments. Login now