diff options
author | Nicky <nicky.dasmijn@posteo.nl> | 2024-08-03 15:42:06 +0200 |
---|---|---|
committer | Nicky <nicky.dasmijn@posteo.nl> | 2024-08-03 15:42:39 +0200 |
commit | 34e48e686200c80bcdbdde309a8901cfef2a5543 (patch) | |
tree | 62cc37fa56d301e9f82972af823fba11a6b2576c | |
parent | 04c47b95323a8022785e58fec03c14769ddfa6af (diff) |
Change another case of a regex sequence needing to be a raw string
-rwxr-xr-x | scripts/packages-formatter.py | 2 |
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): """ |