gentoo-ebuilds/app-admin/webapp-config/files/webapp-config-1.55-py3.122-invalid-escape-sequence.patch
Viorel Munteanu e0dec3d48e
app-admin/webapp-config: enable py3.12
Closes: https://bugs.gentoo.org/929277
Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
2024-04-15 20:43:32 +03:00

11 lines
334 B
Diff

--- a/WebappConfig/protect.py
+++ b/WebappConfig/protect.py
@@ -78,7 +78,7 @@
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)