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 536969d ninja-fix – python2 compatibility for C* 3.x CI
536969d is described below
commit 536969d53b51e8f3d01812b2de38948cb769855c
Author: mck <[email protected]>
AuthorDate: Sun Sep 14 21:03:48 2025 +0200
ninja-fix – python2 compatibility for C* 3.x CI
---
ccmlib/node.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ccmlib/node.py b/ccmlib/node.py
index 54fdf14..0bf3734 100644
--- a/ccmlib/node.py
+++ b/ccmlib/node.py
@@ -995,9 +995,9 @@ class Node(object):
try:
os.kill(int(pid), sig)
except ProcessLookupError:
- logger.info(f"Process {pid} not found")
+ logger.info("Process %d not found" % pid)
except PermissionError:
- logger.info(f"Did not have permissions to kill {pid}")
+ logger.info("Did not have permissions to kill %d" %
pid)
except (psutil.NoSuchProcess, psutil.AccessDenied,
psutil.ZombieProcess):
pass
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]