# arekm, 2008
# remove
+from __future__ import print_function
+
import os
import re
import time
m = re_nvr.match(file)
if not m:
- print "problem with: %s" % file
+ print("problem with: %s" % file)
sys.exit(1)
if len(sys.argv) == 0:
else:
files[name] = file
-for i in dupes.iterkeys():
+for i in iter(dupes.keys()):
for old in find_old(dupes[i])[1:]:
os.system("/home/pld/admins/th/pld-ftp-admin/scripts/remove.py test %s" % old)