Fix regex syntax warning in docs/conf.py
The \d means we should really use an r-string. The current string works, but python 3.12 will give us a warning. Change-Id: I5a0e187e6629b269654fede139dd3ae611fcbdd4
This commit is contained in:
parent
9305c7b06c
commit
7de69a9175
@ -93,7 +93,7 @@ except subprocess.CalledProcessError:
|
||||
|
||||
interesting_tags = []
|
||||
for tag in output.splitlines():
|
||||
if re.match('^\d+\.\d+\.\d+$', tag):
|
||||
if re.match(r'^\d+\.\d+\.\d+$', tag):
|
||||
parts = tuple(map(int, tag.split('.')))
|
||||
if parts < min_version:
|
||||
continue
|
||||
|
Loading…
x
Reference in New Issue
Block a user