mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-06-07 13:44:38 +02:00
Closes: https://bugs.gentoo.org/929277 Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
11 lines
334 B
Diff
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)
|