remove just needs md5sum(2)
This commit is contained in:
parent
5a116a1be3
commit
92ca873216
1 changed files with 1 additions and 1 deletions
|
@ -195,7 +195,7 @@ class Archive(SQLObject):
|
||||||
for f in oxdb_files:
|
for f in oxdb_files:
|
||||||
if oxdb_files[f]['md5sum'] not in md5sum_on_disk:
|
if oxdb_files[f]['md5sum'] not in md5sum_on_disk:
|
||||||
print "remove", f
|
print "remove", f
|
||||||
self.removeFile({'md5sum':oxdb_files[f]['md5sum']})
|
self.removeFile(oxdb_files[f]['md5sum'])
|
||||||
stats['remove'] += 1
|
stats['remove'] += 1
|
||||||
print stats
|
print stats
|
||||||
return stats
|
return stats
|
||||||
|
|
Loading…
Reference in a new issue