summaryrefslogtreecommitdiff
path: root/python/makefile.py
diff options
context:
space:
mode:
authorDonald Sharp <donaldsharp72@gmail.com>2024-07-25 07:17:03 -0400
committerGitHub <noreply@github.com>2024-07-25 07:17:03 -0400
commit035542f6bb9186e517b3d2745952ea1d66645206 (patch)
tree000e9dc291dea4b35b9e1e7538cfe635c4fcb925 /python/makefile.py
parent30bbba1f326c3c11b0b480e55ec03c32b16fd371 (diff)
parent8916953b534f64a7545860ad5b4b36dc2544f33a (diff)
Merge pull request #16449 from opensourcerouting/py-invalid-escapes
build: fix a few python string escape warnings
Diffstat (limited to 'python/makefile.py')
-rw-r--r--python/makefile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/makefile.py b/python/makefile.py
index 573871fb68..45f032296f 100644
--- a/python/makefile.py
+++ b/python/makefile.py
@@ -91,7 +91,7 @@ lines = before.splitlines()
autoderp = "#AUTODERP# "
out_lines = []
bcdeps = []
-make_rule_re = re.compile("^([^:\s]+):\s*([^:\s]+)\s*($|\n)")
+make_rule_re = re.compile(r"^([^:\s]+):\s*([^:\s]+)\s*($|\n)")
while lines:
line = lines.pop(0)