remove just needs md5sum(2)

This commit is contained in:
j 2007-07-12 22:01:56 +00:00
parent 5a116a1be3
commit 92ca873216

View file

@ -195,7 +195,7 @@ class Archive(SQLObject):
for f in oxdb_files:
if oxdb_files[f]['md5sum'] not in md5sum_on_disk:
print "remove", f
self.removeFile({'md5sum':oxdb_files[f]['md5sum']})
self.removeFile(oxdb_files[f]['md5sum'])
stats['remove'] += 1
print stats
return stats