commit: 7a79aac284251a7f166775037b75ba23de289ac4
Author: Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 22 13:23:24 2025 +0000
Commit: Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Thu Dec 25 08:38:35 2025 +0000
URL: https://gitweb.gentoo.org/proj/webapp-config.git/commit/?id=7a79aac2
Fix python 3.12 invalid escape sequence
Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>
WebappConfig/protect.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/WebappConfig/protect.py b/WebappConfig/protect.py
index 6055d17..58f906b 100644
--- a/WebappConfig/protect.py
+++ b/WebappConfig/protect.py
@@ -78,7 +78,7 @@ class Protection:
numbers = []
prefix = self.protect_prefix
- rep = re.compile(prefix.replace('.','\.') + '(\d{4})_')
+ rep = re.compile(prefix.replace('.',r'\.') + r'(\d{4})_')
for i in entries:
rem = rep.match(i)