]> git.pld-linux.org Git - projects/pld-ftp-admin.git/blobdiff - wwwbin/clean-dups-archive.py
html/qa: refactor, use functions
[projects/pld-ftp-admin.git] / wwwbin / clean-dups-archive.py
old mode 100644 (file)
new mode 100755 (executable)
index 010f2cd..4961c39
@@ -12,7 +12,7 @@ re_rpm = re.compile(r'.*\.rpm$')
 re_nvr = re.compile('^(.*)-([^-]*)-([^-]*)\.rpm$')
 dir = '/home/pld/admins/th/ftp/.archive/PLD/SRPMS/RPMS'
 
-ts = rpm.TransactionSet("", (rpm._RPMVSF_NOSIGNATURES or rpm.RPMVSF_NOHDRCHK or rpm._RPMVSF_NODIGESTS or rpm.RPMVSF_NEEDPAYLOAD))
+ts = rpm.TransactionSet("", (rpm.RPMVSF_NOHDRCHK or rpm.RPMVSF_NEEDPAYLOAD))
 
 def compare(f1, f2):
        try:
This page took 0.060959 seconds and 4 git commands to generate.