Fix invalid backslash characters

* https://docs.python.org/3/whatsnew/3.6.html#deprecated-python-behavior

Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
Alfred Wingate
2023-11-16 05:10:40 +02:00
parent d48699e5fd
commit c0be0e0b67
9 changed files with 19 additions and 19 deletions

View File

@ -22,7 +22,7 @@ def get_version_type(version):
if "9999" in version or "99999999" in version:
return "live"
for token in re.findall("[\._-]([a-zA-Z]+)", version):
for token in re.findall(r"[\._-]([a-zA-Z]+)", version):
if token in gentoo_types:
types.append(token)
if types: