##// END OF EJS Templates
Fix race condition in paths.get_ipython_dirs(),...
Matthias Bussonnier -
r27165:53de2072 merge
parent child Browse files
Show More
@@ -72,7 +72,7 b' def get_ipython_dir() -> str:'
72 72 " using a temp directory.".format(parent))
73 73 ipdir = tempfile.mkdtemp()
74 74 else:
75 os.makedirs(ipdir)
75 os.makedirs(ipdir, exist_ok=True)
76 76 assert isinstance(ipdir, str), "all path manipulation should be str(unicode), but are not."
77 77 return ipdir
78 78
General Comments 0
You need to be logged in to leave comments. Login now