Skip to content

Commit 181273f

Browse files
Nicky-Dbrad-linden
authored andcommitted
Change another case of a regex sequence needing to be a raw string
1 parent e7c506b commit 181273f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/packages-formatter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
# Coerce stdout encoding to utf-8 as cygwin's will be detected as cp1252 otherwise.
4343
_autobuild_env["PYTHONIOENCODING"] = "utf-8"
4444

45-
pkg_line=re.compile('^([\w-]+):\s+(.*)$')
45+
pkg_line=re.compile(r'^([\w-]+):\s+(.*)$')
4646

4747
def autobuild(*args):
4848
"""

0 commit comments

Comments
 (0)