This is an automated email from the ASF dual-hosted git repository.

mck pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra-ccm.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 514b753  ninja-fix – python2 compatibility for C* 3.x CI
514b753 is described below

commit 514b753db1f1a8cdf651af3292b337eaa03474c3
Author: mck <m...@apache.org>
AuthorDate: Sun Sep 14 23:27:17 2025 +0200

    ninja-fix – python2 compatibility for C* 3.x CI
---
 ccmlib/common.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ccmlib/common.py b/ccmlib/common.py
index 7c2055e..c297a85 100644
--- a/ccmlib/common.py
+++ b/ccmlib/common.py
@@ -405,7 +405,8 @@ def make_cassandra_env(install_dir, node_path, 
update_conf=True):
         if os.path.exists(orig):
             dst = os.path.join(node_path, sh_file)
             if not is_win() or not os.path.exists(dst):
-                os.makedirs(os.path.dirname(dst), exist_ok=True)
+                if not os.path.exists(os.path.dirname(dst)):
+                    os.makedirs(os.path.dirname(dst))
                 shutil.copy(orig, dst)
 
     if update_conf and not (is_win() and version_from_build >= '2.1'):


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to