[projects/pld-ftp-admin] More raw strings

baggins baggins at pld-linux.org
Tue Mar 18 10:48:10 CET 2025


commit 428c5a5dfe833c29906b4c64b0ba8a7616c39e78
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Tue Mar 18 09:41:43 2025 +0100

    More raw strings

 wwwbin/clean-dups.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/wwwbin/clean-dups.py b/wwwbin/clean-dups.py
index 335a89e..d7f3c82 100755
--- a/wwwbin/clean-dups.py
+++ b/wwwbin/clean-dups.py
@@ -12,10 +12,10 @@ import rpm
 import sys
 
 re_rpm = re.compile(r'.*\.rpm$')
-re_nvr = re.compile('^(.*)-([^-]*)-([^-]*)\.rpm$')
+re_nvr = re.compile(r'^(.*)-([^-]*)-([^-]*)\.rpm$')
 dir = '/home/pld/admins/th/ftp/test/SRPMS/RPMS'
 
-ignore = re.compile('^(kernel-.*)$')
+ignore = re.compile(r'^(kernel-.*)$')
 #|\
 #crash-.*|\
 #dahdi-linux-.*|\
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/projects/pld-ftp-admin.git/commitdiff/428c5a5dfe833c29906b4c64b0ba8a7616c39e78



More information about the pld-cvs-commit mailing list