From 125b90d8d3d1959b834ce03e18c59befbd56d4a4 Mon Sep 17 00:00:00 2001 From: Beq Date: Tue, 9 Sep 2025 01:16:08 +0100 Subject: [PATCH] Silence the python regex warning with a raw string. --- scripts/packages-formatter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/packages-formatter.py b/scripts/packages-formatter.py index 84fa27ca65..45e6f44027 100755 --- a/scripts/packages-formatter.py +++ b/scripts/packages-formatter.py @@ -42,7 +42,7 @@ _autobuild_env=os.environ.copy() # Coerce stdout encoding to utf-8 as cygwin's will be detected as cp1252 otherwise. _autobuild_env["PYTHONIOENCODING"] = "utf-8" -pkg_line=re.compile('^([\w-]+):\s+(.*)$') +pkg_line=re.compile(r'^([\w-]+):\s+(.*)$') # make this a raw string top avoid the warning. def autobuild(*args): """