summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicky <nicky.dasmijn@posteo.nl>2024-08-03 15:42:06 +0200
committerNicky <nicky.dasmijn@posteo.nl>2024-08-03 15:42:39 +0200
commit34e48e686200c80bcdbdde309a8901cfef2a5543 (patch)
tree62cc37fa56d301e9f82972af823fba11a6b2576c
parent04c47b95323a8022785e58fec03c14769ddfa6af (diff)
Change another case of a regex sequence needing to be a raw string
-rwxr-xr-xscripts/packages-formatter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/packages-formatter.py b/scripts/packages-formatter.py
index 4449111e46..5d31702e76 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+(.*)$')
def autobuild(*args):
"""