Fix deprecated syntax for regex

This commit is contained in:
Patrik Holmqvist 2024-12-19 10:14:48 +01:00
parent 6ddeffac79
commit 6dc59a2b19
Signed by: pahol
GPG key ID: 5D5B0D4E93F77273

View file

@ -206,7 +206,7 @@ def main():
if OS_INFO["VERSION_CODENAME"] == "bullseye":
pass
if re.match('^idm-sto\d-qa-', host_info["fqdn"]):
if re.match(r'^idm-sto\d-qa-', host_info["fqdn"]):
modules["sunet"]["tag"] = "jocar-idm-*"
qa_exceptions = ['nic.komreg.net', 'jmp.komreg.net', 'md1.komreg.net']