From fcacaca79d85b61209a37bcddd68520604241f64 Mon Sep 17 00:00:00 2001 From: Markus Hilger Date: Sun, 9 Aug 2026 07:09:15 +0200 Subject: [PATCH] Use a raw string for a regex escape (W605) '\s' is not a recognised string escape. Python still accepts it today but warns, and it becomes a syntax error in a future release. --- confluent_osdeploy/esxi7/profiles/hypervisor/scripts/makeksnet | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_osdeploy/esxi7/profiles/hypervisor/scripts/makeksnet b/confluent_osdeploy/esxi7/profiles/hypervisor/scripts/makeksnet index 7dcf966a..c6c310b2 100644 --- a/confluent_osdeploy/esxi7/profiles/hypervisor/scripts/makeksnet +++ b/confluent_osdeploy/esxi7/profiles/hypervisor/scripts/makeksnet @@ -2,7 +2,7 @@ import re import subprocess import json -uplinkmatch = re.compile('^\s*Uplinks:\s*(.*)') +uplinkmatch = re.compile(r'^\s*Uplinks:\s*(.*)') nodename = None for inf in open('/etc/confluent/confluent.info', 'r').read().split('\n'): if inf.startswith('NODENAME: '):