Skip to content

Commit 536969d

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ccmlib/node.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -995,9 +995,9 @@ def __unix_kill_process_matching(self, pattern, sig=signal.SIGTERM):
995995
try:
996996
os.kill(int(pid), sig)
997997
except ProcessLookupError:
998-
logger.info(f"Process {pid} not found")
998+
logger.info("Process %d not found" % pid)
999999
except PermissionError:
1000-
logger.info(f"Did not have permissions to kill {pid}")
1000+
logger.info("Did not have permissions to kill %d" % pid)
10011001
except (psutil.NoSuchProcess, psutil.AccessDenied, psutil.ZombieProcess):
10021002
pass
10031003

0 commit comments

Comments
 (0)