Skip to content

Commit 514b753

Browse files
ninja-fix – python2 compatibility for C* 3.x CI
1 parent 536969d commit 514b753

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ccmlib/common.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,8 @@ def make_cassandra_env(install_dir, node_path, update_conf=True):
405405
if os.path.exists(orig):
406406
dst = os.path.join(node_path, sh_file)
407407
if not is_win() or not os.path.exists(dst):
408-
os.makedirs(os.path.dirname(dst), exist_ok=True)
408+
if not os.path.exists(os.path.dirname(dst)):
409+
os.makedirs(os.path.dirname(dst))
409410
shutil.copy(orig, dst)
410411

411412
if update_conf and not (is_win() and version_from_build >= '2.1'):

0 commit comments

Comments
 (0)